SYSTEM schema security [message #415654] |
Tue, 28 July 2009 09:32  |
vikramjogi
Messages: 71 Registered: June 2005 Location: Scranton
|
Member |
|
|
Hello All,
I have a situation where the application user needs DROP ANY EXECUTE ANY, ALTER ANY (system privileges). I have O7_DICTIONARY_ACCESSIBILTY=FLASE, so the user can't access the SYS Schema objects (Dictionary), but granting them the system privileges would give them access to SYSTEM Schema.
So, my question is, Is there any way that we can prevent them from accessing the SYSTEM schema objects.
I would appreciate any suggestions.
Thanks,
VJ
|
|
|
|
Re: SYSTEM schema security [message #415660 is a reply to message #415656] |
Tue, 28 July 2009 09:45   |
vikramjogi
Messages: 71 Registered: June 2005 Location: Scranton
|
Member |
|
|
Gentlebabu,
Thanks for replying. But i am not sure if i actually understand what do you mean by "What about GRANT?" Could you please help me understand.
Thanks,
VJ
|
|
|
|
|
Re: SYSTEM schema security [message #415667 is a reply to message #415664] |
Tue, 28 July 2009 09:56   |
vikramjogi
Messages: 71 Registered: June 2005 Location: Scranton
|
Member |
|
|
BlackSwan, cookiemonster
Thanks for replying. Could you please let me know if we can restrict the users from accessing SYSTEM schema. I totally agreed with your suggestions and i am in the process of implementing them. But just curious to know if there is a solution to prevent access to SYSTEM schema.
Thanks,
VJ
|
|
|
|
|
Re: SYSTEM schema security [message #419365 is a reply to message #415667] |
Fri, 21 August 2009 09:51   |
JRowbottom
Messages: 5933 Registered: June 2006 Location: Sunny North Yorkshire, ho...
|
Senior Member |
|
|
Quote: | Could you please let me know if we can restrict the users from accessing SYSTEM schema
|
No. If you grant a user SELECT ANY TABLE, then they can select ANY table in the database, including SYS and SYSTEM
|
|
|
Re: SYSTEM schema security [message #419368 is a reply to message #419365] |
Fri, 21 August 2009 10:29  |
 |
Michel Cadot
Messages: 68756 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
SELECT ANY TABLE does not give access to SYS tables:
SQL> create user test identified by test;
User created.
SQL> grant create session, select any table to test;
Grant succeeded.
SQL> connect test/test
Connected.
TEST> desc sys.tab$
ERROR:
ORA-04043: object sys.tab$ does not exist
TEST> desc dba_tables;
ERROR:
ORA-04043: object "SYS"."DBA_TABLES" does not exist
Regards
Michel
|
|
|