I am working on a project for a game that I play. This program would allow a user to store login and passwords for their accounts. They would be able to give the account a name, and then enter the login and password to be stored. They could then select the account they would like to log into from a drop down menu and it would then launch a web browser and then log into their account. The problem that I am having is I am not sure how to store the login/pw information.
I do not want to create an external file and save the information there, would defeat the purpose of making logging in more secure (avoiding typing in login/pw in case of keylogger). Does anyone have any ideas of how to accomplish this? I have looked into storing the file as an embedded resource but from what i've seen you can only read from the file then, not write to it.
Any suggestions would be much appreciated.
Justin
Loading
AnttiPosted Feb 7, 2006, 7:30 AM
If you store your password/username strings to a program Setting properties, it embedds the string in the .net assembly itself (the .exe), doesen't it? (please correct me if i'm wrong!).
First open your project Properties, and select Settings. Add a password setting as string. You can use the setting in the code like this:
global::YourAppName.Properties.Settings.Default.password = "password";global::YourAppName.Properties.Settings.Default.Save();
But i think the fairly safe (and free?) place would be for example SqlServer Express database. Your program need the database password to log in, so no keyloggers can access into it.
ChrisPosted Feb 4, 2006, 11:14 PM