This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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!
 
GeeCON Prague 2014
 
subject: Connect to database(mySQL) in a secure way?