|
-
July 29th, 1999, 04:58 PM
#1
JDBC and Security
Greetings all. I need to execute some JDBC calls across the internet. I'm planning on using the getConnection method of the DriverManager. This requires a userid and password. How can I pass the userid and password securely?
Also, the URL parameter description in the DriverManager.getConnection method says "a database url of the form jdbc:subprotocol:subname. What would go in the subprotocol and subname fields? Thanks all.
-
July 30th, 1999, 11:59 AM
#2
Re: JDBC and Security
Do you have access to using servlets on the database side, that is a server that supports servelts on the other side of the internet where the database is? If so you can create a servelt that will do the database connection. Your application on the client side would then make a request to the servlet to connect to a database. You can use the crypto package in the JDK 1.2 to encrypt your username and password.
Hope this helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|