Hi,

In my web service (using tomcat 7.0) I use a datasource to MySql database
configured under context.xml (in my WEB-INF directory) which looks like the
following :

<Context> 

       <Resource name="jdbc/TestDB" auth="Container"
type="javax.sql.DataSource" maxActive="100"   maxIdle="30" maxWait="10000"
username="user" password="pass" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/test_db?autoReconnect=true"/> 

</Context>

My question is : Is it safe to store user/pass like this ? if not, what is
commonly used as a safe approach ?

Thanks !!! 
-- 
View this message in context: 
http://old.nabble.com/Is-it-safe---tp32490405p32490405.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to