aspose file tools*
The moose likes JDBC and the fly likes hard coding username password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "hard coding username password" Watch "hard coding username password" New topic
Author

hard coding username password

ali farid
Ranch Hand

Joined: Aug 26, 2000
Posts: 60
what are the possible alternatives to avoid hardcoding the connect string , username and password in the database connection class, and still remain encrypted.
shilpa kulkarni
Ranch Hand

Joined: Jun 07, 2000
Posts: 87
Store it in a .ini file and read the file each time you need username and password.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hard coding username password