db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Chen <alex_c...@sbcglobal.net>
Subject DB user name and password
Date Thu, 02 Feb 2006 02:37:44 GMT
Currently the only way I know is to specify the user name and password 
for DB connection via torque is through a property file:

torque.defaults.connection.user = dbuser
torque.defaults.connection.password = dbpassword

and then call Torque.init( String propertyFile)

This is open the chance of someone looking at the file and getting 
access to the DB.

Is there other way to initialize Torque so that I can set the DB 
user/password separately, e.g. via some property setting at runtime?


To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message