New topic: Simple password protection
<http://forums.realsoftware.com/viewtopic.php?t=47950> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message shaithis Post subject: Simple password protectionPosted: Wed May 22, 2013 2:28 pm Joined: Wed May 22, 2013 2:18 pm Posts: 1 Hi, Can anyone tell me how to add a simple password to protect an app please? Click .exe => password entry window opens => enter password => click ok => program window opens. Regards and thanks in advance, Marcus. Top Jym Post subject: Re: Simple password protectionPosted: Wed May 22, 2013 6:46 pm Joined: Sat Oct 01, 2005 5:19 pm Posts: 3214 If textfield1.text = "my password" then Self.Close ProgramWindow.Show Else msgbox "Nope Try Again" End if is the simplest of the simple. Top J.Hansen Post subject: Re: Simple password protectionPosted: Thu May 23, 2013 1:37 am Joined: Wed Dec 14, 2011 4:20 am Posts: 80 Jym wrote:If textfield1.text = "my password" then Self.Close ProgramWindow.Show Else msgbox "Nope Try Again" End if is the simplest of the simple. And to make the security even better. Never store clear text password on your system. hash users passwords with a salt using sha1 or even better sha512. And validate against the hash. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
