This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Secure JDBC - Sybase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Secure JDBC - Sybase" Watch "Secure JDBC - Sybase" New topic

Secure JDBC - Sybase

Darren Witham

Joined: Dec 21, 2004
Posts: 2

Sure this has been covered somewhere but dont seem to be able to find a concise answer. Our app is using straight JDBC connections to a database and some concern has been expressed that when we issue

DriverManager.getConnection(dataBaseURL, userName, password)

that the username/password is being passed across the wire in an unsecure fashion. The backend is Sybase and we are using JConnect. Anyone have any feedback on implementing a secure JDBC connection between app and db ?

Thx in advance
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
You might use a connection pool to avoid that situation.

Cheers!<br /><b>Annie</b>
I agree. Here's the link:
subject: Secure JDBC - Sybase
It's not a secret anymore!