Dear,
Storing the passwords in registry is not a good idea. There are better options that involve: Access controls lists (ACL), Data Protection API, Stored Data Accessing using CredUIPromptForCredentials
A good article explaining these is available at: http://msdn.microsoft.com/
Typically you want to use cryptography (the very thing that is used in secure web browsing) services to encrypt/decrypt your passwords and store these passwords using ACL. Access Control Lists allows files to be secured using custom security management so that they are not as easily accessible as registry, which is open to any one.
Thanking you,
Yours,
P.GopalaKrishna.
Main Topics
Browse All Topics





by: jkrPosted on 2005-07-06 at 06:58:03ID: 14377893
A one-way hash isn't a good idea, since you can't calculate the PWD from the hash. I'd suggest to use the Protected Storage Service instead: http://msdn.microsoft.com/ library/en -us/devnot es/winprog / pstore.as p
msdnmag/is sues/03/11 / ProtectYo urData/def ault.aspx ("Protect It:
Also, http://msdn.microsoft.com/
Safeguard Database Connection Strings and Other Sensitive Settings in Your Code") seems quite promising.