[RESOLVED] How can i store passwords in VB 2008?
Hi,
I know its a very basic problem but what is the best way to store passwords and usernames in visual basic 2008? I need to be able to add them whist in runtime and I also need to be able to obviosly get the program to check wether inputted username and passwords are correct.
I am VERY new to programming so please explain your answeres in dummy language:o
Thanks, I look forward to the replies!
Re: How can i store passwords in VB 2008?
If you are using Web Application you could store them in the web.config file and in case of Windows Application in App.Config File.
The better way is to encrypt the config setting that it is not clear text. And you need to decrypt it in code behind
For encryption the config files see here
Re: How can i store passwords in VB 2008?
Quote:
Originally Posted by
danasegarane
If you are using Web Application you could store them in the web.config file and in case of Windows Application in App.Config File.
The better way is to encrypt the config setting that it is not clear text. And you need to decrypt it in code behind
For encryption the config files see
here
thanks but the problem is even more fundamental than you are suggesting. I need to literally know WHERE i can store this info.
I know it could be done in a database but I would rather do it writing VB if that is possible
I honestly am not just being modest, I am very very very new to programming.
Cheers
Re: How can i store passwords in VB 2008?
Windows or Web Application ?
Re: How can i store passwords in VB 2008?
Quote:
Originally Posted by
danasegarane
Windows or Web Application ?
Windows, sorry I didnt mention:o
Re: How can i store passwords in VB 2008?
Re: How can i store passwords in VB 2008?
Then you can store the password in App.Config File. Add one Config file to your application using
Project Menu -> Add new item ->Application Configuration File Add
Re: How can i store passwords in VB 2008?
Quote:
Originally Posted by
danasegarane
Then you can store the password in App.Config File. Add one Config file to your application using
Project Menu -> Add new item ->Application Configuration File Add
Thank you very much for your help!
Re: [RESOLVED] How can i store passwords in VB 2008?
How can be achieve the same in VB 6