By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,708 Members | 2,055 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,708 IT Pros & Developers. It's quick & easy.

Secure Password Storing for desktop software

P: 4
I was thinking to create a desktop application, and this app required user login with username and password, since the app not connect with database, I was thinking is there a secure way to store password? One of the way come into my mind is storing in registry?
Aug 26 '12 #1
Share this Question
Share on Google+
5 Replies

ariful alam
P: 185
You can do this what you thought.

you can also use a configuration file that may store user id and password in encrypt format like in binary, hex, decimal etc.
Aug 26 '12 #2

P: 4
@ariful alam
If storing in file will it be unsecure?
Aug 26 '12 #3

ariful alam
P: 185
As I said, in file in encrypt format. not as a simple text but as binary, hex, decimal or other technique. moreover you can name the extension of the file to a unknown format whatever u like.
Aug 26 '12 #4

Expert Mod 10K+
P: 12,369
First of all, there's no such thing as 100% secure. And in this scenario, it's not a matter of where you store it but how you store it. The usual method for this is to hash the password and store the hash. A slightly more secure method is to hash it with a salt.
Aug 27 '12 #5

P: 4
Yes I understad I just want to listen more suggestion and opinion which method will be more secure. Thanks for your advised.
Aug 27 '12 #6

Post your reply

Sign in to post your reply or Sign up for a free account.