Password protect opening of stacks

Sannyasin Sivakatirswami katir at hindu.org
Mon May 26 22:25:01 EDT 2003


Thanks Scott, that make sense,  I am a custom prop man myself for such 
stuff... and then the custom property is encrypted by the standard 
password routine as well..


On Monday, May 26, 2003, at 03:57  PM, Scott Rossi wrote:

> All you need to do is create your "key" somewhere in your stack: a 
> property,
> a hidden field, whatever object you want -- let's say a custom 
> property of
> the first card called "uPass".  The simply pop an ask dialog to check, 
> as
> you already tried.  Personally, I would separate the password 
> confirmation
> from the openStack handler:
>
> on openStack
>    send "checkPermission" to me in 0.5 seconds
> end openStack
>
> on checkPermission
>    ask "Enter your password:"
>    if not (it=the uPass of this cd) then quit
> end checkPermission
>
>
> Regards,
>
> Scott Rossi
> Creative Director




More information about the use-livecode mailing list