This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC and the fly likes Connect to database(mySQL) in a secure way? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connect to database(mySQL) in a secure way?" Watch "Connect to database(mySQL) in a secure way?" New topic
Author

Connect to database(mySQL) in a secure way?

Kay Tracid
Ranch Hand

Joined: Mar 06, 2002
Posts: 148
Hi,
I want to connect to a mySQL database. mySQL has a database with a table for the users, whose have access to mySQL.
I created a database for my program with a table for the content and a table for allowed users.
If I connect, I have to use the user and password from the mySQL user table. I have to store this user name in my program. If sombody read this user, he had the permission to make a SELECT on my database for users and the content.
Is there a way to connect with using my user table? Or is there a other way?
please help...
Thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connect to database(mySQL) in a secure way?