Which way should i save??
I am crating a password protection application for a friend. I want it so that it saves the value of each of the text boxes in some way that it cannot be read outwith the application. I wanted to use a database but i dont know how to make it so that the full list is available to the user. What alternative ways are there to save the value of a textbox??? I am going to have three textboxes per password (site name, user name and the password) then another set of boxes below that and so on.
Please help
if you dont understand this please say and i will explain again
Re: Which way should i save??
I don't know if this is the most secure was of doing this but I would use an INI file.
[INFO]
User1=Sam
Site1=www.anysite.com
Password1=asdsdasdasda
User2=Dan
Site2=www.anysite.com
Password2=dsdweqweqwe
This is my favorite was of storing and retreving strings that dosen't require writing registry keys. There are some very easy to use code examples on the net and mabey in the codebank on how to read and write these files. The only problem is that it may not be really that secure. One only needs to access the INI to find all this info out.
Re: Which way should i save??
http://www.di-mgt.com.au/crypto.html
Don't invent your own so-so encryption, use an encryption algorithm that's been banged on and found good.
As far as saving the data, a data file (user defined type) is good, as is a .mdb file.