Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Application vs database users
Mark Bole wrote:
> kochel_verz_at_yahoo.com wrote:
> > Hi.
> > Please give some opinion on this:
> > Wich is the best approach for managing users in a typical three-tier
> > web application, using jdbc:
>
> HansF wrote:
>
>> Some reasons to ensure that each app user has a unique database userid: >>
>> >> Some reasons to avoid that: >>
>>
I'm going to take issue with a few things you wrote. But yes they are nits.
CREATE ROLE maintain_users IDENTIFIED BY "N0Way!"; GRANT create session TO maintain_users; GRANT create user TO maintain_users; GRANT drop user TO maintain_users;
And the security issue is greatly minimized. Grant the role to a user who presents the the password via an application (thus they don't know it and can't log on with SQL*Plus) and the problem esentially is non-existant.
But we all agree there are trade-offs. And only the specific business case can dictate the correct path to take.
Reminds me a bit of what used to happen when someone asked me to create a table. First thing I did was CREATE TABLE .... These days I say what kind of table? For what purpose? How will it be used? What size? What percentage of the block will be filled during the initial insert? etc. The version 7 old DBA skills aren't all that relevant in the current environment.
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Wed Jun 01 2005 - 00:41:16 CDT
![]() |
![]() |