Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Jul 16, 2018 4:06 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Simple password protection
PostPosted: Wed May 22, 2013 2:28 pm 
Offline

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
 Profile  
Reply with quote  
 Post subject: Re: Simple password protection
PostPosted: Wed May 22, 2013 6:46 pm 
Offline

Joined: Sat Oct 01, 2005 5:19 pm
Posts: 3216
If textfield1.text = "my password" then
Self.Close
ProgramWindow.Show
Else
msgbox "Nope Try Again"
End if



is the simplest of the simple.


Top
 Profile  
Reply with quote  
 Post subject: Re: Simple password protection
PostPosted: Thu May 23, 2013 1:37 am 
Offline

Joined: Wed Dec 14, 2011 4:20 am
Posts: 84
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
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group