Click here to Skip to main content
15,910,009 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I amb developing a winforms c# application that communicates with several APIs (like Google, etc...). The user can connect to more than one account a time.

The thing is that I don't know where to store securely those accounts (username/password, oauth keypass, etc...). The first idea was to store the accounts information in the app.config (encrypted), but i think it is unsecure. The other idea was to store in the registry (like HKEY_CURRENT_USER/etc....Accounts/Google/0/user).

What do you recommend?

Thanx!
Posted

The first approach is better ie to store information to app.config as when you need to change the info then it'll be easy and not risky to do it
 
Share this answer
 
Well, the info is stored dinamically by the application. But, is secure to store the account info in app.config file?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900