Re: How do I encrypt the password in JDBC Connect string?
Wednesday, December 14, 2005 04:34 AM
If you will send the encrypted password to GetConnection () API , your authentication with db will always fail.
There are two ways for this :
I suggest you to collect the password dynamically and send to API, don't try to persist it in Some where.
2. Persist mode
If you still want to persist password in some cases, then after encryption you can store in some file,
but before passing password to API , you must decrypt the same.