dbTalk Databases Forums  

Different types of privileges

comp.databases.oracle.server comp.databases.oracle.server


Discuss Different types of privileges in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Peter
 
Posts: n/a

Default Different types of privileges - 06-26-2003 , 04:35 AM






How do you distinguish between an admin privilege and an object
privilege?

Thanks

Reply With Quote
  #2  
Old   
Andrew Deighton
 
Posts: n/a

Default Re: Different types of privileges - 06-26-2003 , 05:13 AM






SYSTEM privileges are specific to the database as a whole, e.g. CREATE

SESSION or SELECT ANY TABLE.

OBJECT privileges are specific to a particular object, e.g. SELECT ON

MY_TABLE

OBJECT privileges can be granted with GRANT OPTION, which allows the grantee

to grant the same privilege to other users.

SYSTEM privileges can be granted with ADMIN OPTION, which allows them to be

granted to other users.

If you revoke an OBJECT privilege from a user, it is also revoked from all

the users that user has granted it to.

If you revoke a SYSTEM privilege from a user, it has no impact on grants

that user has made.

OBJECT privileges are seen in DBA_TAB_PRIVS, SYSTEM privileges are in

DBA_SYS_PRIVS.

I hope this helps.

Andrew

www.Phaldor-IT.com

"Peter" <peter (AT) nomorenewsspammin (DOT) ca> wrote

Quote:
How do you distinguish between an admin privilege and an object
privilege?

Thanks



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.