On 17/5/06 8:18 am, "Michael von Aichberger 2" <[EMAIL PROTECTED]> wrote:
> I need to protect a Director movie against unauthorized use. Before the > program starts, the user has to enter his name and a password. > > Is it safe to store both in a list like that: > > authorizationL = [[#name : "john", #pw: "kdf8sde3"], [#name : "sue", #pw: > "89g4Df"]] Hi Michael, You can store an encrypted version of the password. When a user enters an unencrypted password, you encrypted the user's input and compare that to the stored encryption. A standard technique is to create and MD5 hash of the user's password. MD5 is a public-domain algorithm for generating a unique but apparently random string for any given input. This is a one-way process: the original data is lost and cannot be retrieved from the hashed version. Chieh An Lu has written a free cross-platform MD5 xtra, which you can find at: <http://xtras.calu.us/xtrasMD5Ldoc.php> Cheers, James [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
