wood burning stoves 2.0*
The moose likes JDBC and the fly likes database access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "database access" Watch "database access" New topic

database access

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 246

how to manage database access?

often i see people who create a user on the db to open a connection..... and after it check in the db if the username and password match with the database...... seem to easy to be the best way.....

Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30136

Yes, that is common. Typically, there is an "administrative" database user. You don't want to create database accounts for every web user. So that database user checks the password table to see if the web user should have access.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link: http://aspose.com/file-tools
subject: database access
Similar Threads
how to connect sql server2008 with jsp
How to access a database over a network
Is it possible to Read from a local Database without Server
JNDI lookup from Applet
Cannot find file / dbpath not correct