This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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