ask password
Chris Sheffield
revlist at cableone.net
Mon Dec 8 16:27:31 EST 2003
Thanks, Jacque and Rob. I guess I didn't realize that. Makes sense though.
Your suggestions should work just fine.
Chris Sheffield
Software Development
Read Naturally
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Monday, December 08, 2003 2:22 PM
To: How to use Revolution
Subject: Re: ask password
On 12/8/03 3:12 PM, Chris Sheffield wrote:
> If I use the ask password command without the "clear" option, how can
> I decrypt what the user enters? There seems to be something missing
> from the Rev Docs about this. They state that the user's input gets
> encrypted, but they don't tell you how to decrypt it. Am I missing
> something obvious?
The password can't be decrypted; it's a secret to everyone. Instead,
store the encrypted password and compare user entries with that. During
development, do something like this:
ask password "Enter the password:"
set the cPswd of this stack to it
After that, you would compare the user's entry to the cPswd of the stack
to see if they match.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
More information about the use-livecode
mailing list