aspose file tools
The moose likes JDBC and Relational Databases 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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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