Password protect opening of stacks
    Chipp Walters 
    chipp at chipp.com
       
    Mon May 26 21:32:00 EDT 2003
    
    
  
Sannyasin,
This will work...notice it doesn't set the passKey of a stack, so your
scripts are still locked. The password in this case is hard coded as "1234"
but you could of course place it in a property as well. BTW, I would
recommend you consider creating a 'startup' stack so you don't have your
users use the RR free runtime environment to run your stacks.
on openStack
   lock messages
   ask password clear "Enter Password"
   if it is not "1234" then quit
   unlock messages
end openStack
    
    
More information about the use-livecode
mailing list