File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!