File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes encrypt database connection  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "encrypt database connection  " Watch "encrypt database connection  " New topic

encrypt database connection

srini carry
Ranch Hand

Joined: Nov 30, 2007
Posts: 83
I use tomcat datasource for database connection , our new requirement is to encrypt database connection , can jdbc connection be encrypted? can this be done with tomcat connection pool?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Check if the DB you're using supports SSL connections; that's the most common way to encrypt DB traffic these days.
Consider Paul's rocket mass heater.
subject: encrypt database connection
It's not a secret anymore!