Password protecting to hide data

Scott Rossi scott at tactilemedia.com
Wed Jan 23 17:18:01 EST 2002


On Wednesday, January 23, 2002, at 01:39 PM, Richard D. Miller wrote:

> I'm interested in this idea of password protecting the stack, but it's 
> not
> clear from the documentation how this is done.

It's pretty straightforward:

    set the password of stack myStack to mypassword

Make sure you save your stack to have the password applied.
Then, to "unlock" a stack via script:

    set the passKey of stack myStack to mypassword

To remove password protection from a stack:

    set the passKey of stack myStack to mypassword
    set the password of stack myStack to empty

And save.

Regards,

Scott Rossi
Creative Director, Tactile Media
scott at tactilemedia.com
http://www.tactilemedia.com




More information about the use-livecode mailing list