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 connectiong using JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Secure connectiong using JDBC" Watch "Secure connectiong using JDBC" New topic

Secure connectiong using JDBC

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Hi all.
I want to connect to a database but using a secure manner.
(to retrieve sensitive information).
does JDBC support a secure connection ?
can I use JSSE ?
I know a little about JSSE (to be more specific, I know only the secure
any ideas or solutions to perform this functionality ?
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Typically security in the data layer would be infrastructure security, rather than code-based security. i.e. an app server running on a properly administered server connecting over the LAN to a DB on a simmilarly properly administered machine. In which case implementing SSL/TLS is an unecessary overhead.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Don't get me started about those stupid light bulbs.
subject: Secure connectiong using JDBC
jQuery in Action, 3rd edition