File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes encrypt password in properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "encrypt password in properties" Watch "encrypt password in properties" New topic
Author

encrypt password in properties

mahendra dubey
Greenhorn

Joined: Sep 25, 2003
Posts: 3
Hi All
Could any 1 tell me how to store database password in the properties in an encrypted format.
Rgrds
md
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

If you encrypt it who will decrypt it?


Groovy
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

I think most of the app servers encrypt the password when Datasource is created.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: encrypt password in properties