| View previous topic :: View next topic |
| Author |
Message |
Eedis NLI Guest
|
Posted: Mon Feb 08, 2010 4:44 am Post subject: Password protect script. |
|
|
| I know of several ways to do a password type thing in a script. I don't want to use an INI to store the password, because someone could always just load up the INI and get the password. I want to compile the script also to an .EXE. What're some other ways I could go about doing this? To make a changeable password. |
|
| Back to top |
|
 |
porrasnick
Joined: 30 Jan 2010 Posts: 166
|
Posted: Mon Feb 08, 2010 5:13 am Post subject: |
|
|
| Code: | InputBox Password
if (Password!=1234) ;Whatever you want the password to be.
ExitApp
Else
Continue |
|
|
| Back to top |
|
 |
Guest
|
Posted: Mon Feb 08, 2010 5:14 am Post subject: |
|
|
| access a webpage and download the string, and check with the user's input |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Feb 08, 2010 5:16 am Post subject: |
|
|
| btw, INI is a good method, of course u can encrypt the password, and decrypt the string in ur exe |
|
| Back to top |
|
 |
Eedis
Joined: 12 Jun 2009 Posts: 1158 Location: Indianapolis IN, USA
|
Posted: Mon Feb 08, 2010 5:34 am Post subject: |
|
|
| Quote: | | btw, INI is a good method, of course u can encrypt the password, and decrypt the string in ur exe |
Hmm... I could do some kind of encryption function. Set the password in the program, encrypt it with some algorithm, and save it to the INI. When someone goes to view the password, it's just a bunch of random characters. Then it gets to the problem that someone could mess up those random characters so that the password doesn't work in the program. Or find out one character, then change the password to that one character. Anyone could change the password as they wanted. Hell, they could just delete the password in general. :/
I need a good method without using the INI at all.
| Quote: | InputBox Password
if (Password!=1234) ;Whatever you want the password to be.
ExitApp
Else |
This wouldn't work. That method does not allow the password to be changeable. I've already used that exact method in another application, but this program I'm making, other's will be using. So the password must be able to be changeable to whatever the user wants it to be. _________________ www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
 |
|
| Back to top |
|
 |
None
Joined: 28 Nov 2009 Posts: 3086
|
Posted: Mon Feb 08, 2010 5:40 am Post subject: |
|
|
| You could put the encypted password in the registy most people would not think to look there. |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Feb 08, 2010 5:42 am Post subject: |
|
|
instead of saving in local pc, i would save it online
and check the string every time the exe runs |
|
| Back to top |
|
 |
Eedis
Joined: 12 Jun 2009 Posts: 1158 Location: Indianapolis IN, USA
|
Posted: Mon Feb 08, 2010 10:42 am Post subject: |
|
|
How would it update the password online when the user changes their password. That, and what if the user doesn't even have internet access? This isn't just for me, it's for other's.
Although, I do like the registry idea, I will have to go with that. Thank you.  _________________ www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
 |
|
| Back to top |
|
 |
|