I'm working on portable application. Something you have on flash-drive and can use it anytime.
Problem is: I need to store some critical passwords in application. So i would like to ask what is right approach for that?
Passwords need to be in xml settings file next to app or somewhere else, but settings still needs to load when used on different computer.
But i would like to users couldnt easily open that settings file(Can i cipher file with settings?) Then i would have some "decryption key" as password which you use everytime you wana make changes or want to use password from that file or some different setting.
Is this right or even safe?
I know option two would be save password already in cipher form to settings xml file, but i would like people couldnt open that file without knowing password.
Thanks for all answers or ideas.