Storing a change to a password?
Hi guys...
I have several forms which use a password (which im currently storting as a string in each form that uses it).
WHat i would like to do is be able to change this password so that any changes are kept when i shut down the program and then run it again the next day (if that makes sense).
I would like to avoid using some external file to store the variable (like a database or text file) if possible.
Anyone able to help?
Re: Storing a change to a password?
Quote:
Originally Posted by N3il
Hi guys...
I have several forms which use a password (which im currently storting as a string in each form that uses it).
WHat i would like to do is be able to change this password so that any changes are kept when i shut down the program and then run it again the next day (if that makes sense).
I would like to avoid using some external file to store the variable (like a database or text file) if possible.
Anyone able to help?
use "savesetting" and "getsetting".
Re: Storing a change to a password?
Quote:
Originally Posted by high6
use "savesetting" and "getsetting".
Is saving the variable to a configuration file secure?
Re: Storing a change to a password?
You could use an algorithm to crypt and decrypt the passwords and store them in some external file. I know you said you'd like to avoid this, but I think this is a matter of security. If you store them crypted this is not a problem any more.