This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 and Relational Databases
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?
 
It's not a secret anymore!