This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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: 8904

If you encrypt it who will decrypt it?


Groovy
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

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
 
Similar Threads
hsqldb Server and EJB2.0 with BEA WLS 6.x
How to specify a schema for a DataSource?
MySQL DataSource error on WAS6
Hiding password value from persistance.xml
Connection Pool problem with Weblogic 6.1 & Oracle 8i on Windows 2000 professional