Encrypted password stored in registry

  • Thread starter Thread starter Dino M. Buljubasic
  • Start date Start date
D

Dino M. Buljubasic

I am storing encrypted password in registry and using it then to log on my
application. However, my objConn.Open(str_connecton_string) crashes the
application if I use the encrypted password.

My connection string works fine with an unencrypted password and looks like:

str_connection_string = "data source=XXXX;initial catalog=dbname;user
ID=username;password=encryptedpassword;connection timeout = 5"

Any help will be appreciated.
 
No, that is not the case. I am using one way encryption, no way to decript
it and beside that, it works fine when accessing encrypthed passwords from
database. It crashes only when accessing encrypted passwords from
registry.
 
Back
Top