I am writing C# application to manage passwords. For now, my database is .txt file, but I want to create few ways to store it. Is .mdf file a good way to do it?
I know how to manage sql database in .mdf file, but I have no idea how to Save As to location chosen by user or How to load it again to program.
Ofcourse it can be any different file type. I look for most secure way to do it. In future I will create asp.net application and Xamarin android application to manage this on few platforms.
@Edit I will try to explain this one more time. Check this:
User execute program. There are option to create new database or load existing. In creation mode user can set type of database. Now i've got only one and it's txt. I am wondering about other, f.e. .mdf, but I didnt know how to save .mdf file in location selected by user. Any other suggestions about possible extensions and how to secure it are appreciated.
I want to store it as following:
Login | Password | linkForWebsite|
Ofcourse i will hash everything, so if any1 open .txt file, he wont see anything.
Suggestions for hashing this string (not md5. it must be 2 way) also welcome.