Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: DBA - Question - USER privilegs

Re: DBA - Question - USER privilegs

From: Kenneth C Stahl <BluesSax_at_Unforgettable.com>
Date: Wed, 25 Aug 1999 07:53:11 -0400
Message-ID: <37C3D927.4AA6149A@Unforgettable.com>


Nandakumar wrote:

> What are the privileges that one user (yyy) should possess if he has to
> ONLY VIEW certain tables and views (owned by user xxx) and execute some
> sub programs?.
>
> 1) User yyyy should not be able to create any table in the DB.
>
> 2) User should not be able to use any DML except select.
>
> 3) Some of the user-defined sub programs (owned by xxxx) that 'yyyy'
> will invoke, use dynamic pl/sql. So 'yyyy' should be able to execute
> some of the sub programs from oracle standard packages, like DBMS_SQL
> etc.

  1. Create a role for the priviledges that you want to give yyyy.
  2. Grant that role to yyyy.
  3. Give select grants to the role on the tables you wish to expose to yyyy.
  4. Give execute grants to the role for the pl/sql objects that you wish to allow yyyy to run.
Received on Wed Aug 25 1999 - 06:53:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US