Password protect certain parts of a stack

Moderators: LCNeil, heatherlaine, kevinmiller, elanorb

Post Reply
pink
Posts: 256
Joined: Wed Mar 12, 2014 6:18 pm

Password protect certain parts of a stack

Post by pink » Fri Mar 14, 2014 5:03 pm

I am working on a Research Project management app, I am trying to combine all of the little tasks my company does into one single resource. There are certain elements that only certain people should have access to, such as "Proposals" and "Bidding." My ideas are:

1. Have a password request pop up whenever these cards are accessed.
2. Have some sort of config file that allows the user of that machine.
3. First look for a config file, and if that doesn't give permission, ask for a password...

Is there a better method I'm not thinking of?

Option #2 is my favorite... I'd love to learn how to do that.

Thanks!
Greg (pink) Miller

MadPink, LLC
I'm Mad, Pink and Dangerous to Know

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Password protect certain parts of a stack

Post by LCNeil » Fri Mar 14, 2014 5:35 pm

Hi Pink,

We have the following lesson which deals with creating a very simple login system-

http://lessons.runrev.com/s/lessons/m/2 ... gin-system

You also have access to the cloud/database academy which explains a more complex login system. This is available on your LiveCode Store accounts product page.

In terms of writing to a config file, the following lesson should give you some leads of file input/output in LiveCode

http://lessons.runrev.com/s/lessons/m/4 ... put-output

http://lessons.runrev.com/s/lessons/m/4 ... -text-file

http://lessons.runrev.com/s/lessons/m/4 ... ng-to-file

Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——

Post Reply

Return to “idea2app and Coding School”