Hello VB experts! Just wanted to gauge the community to see what solutions are being used for your vb applications.
We have a lot of programs that connect to our database. Since we do not want them hard coded in the code, we've been using text files to store passwords. What other solutions, encrypted, or just anything else that would hide the password are you guys using instead of using text files or hardcoding in the password?
Thanks in advance.Advice on avoiding storing ODBC database passwords in txt files for VB applications?
Using the Windows Crypto API to create a hashed password and storing part of the piece used to hash the password in an INI file, and the other portion that is used to hash the password in the code itself.
The other thing I have done is to use public-key encryption to facilitate communication to the database.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment