Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Can we revoke select priv from all_users tables??
Hi Ram,
What are you trying to achieve?
Yes, you are correct. All users have access to user_% views to see things from their own schema, and all users can use all_% views to see things that they are *allowed* to see - by default and by granted privileges.
By default access to all_% views is granted to PUBLIC. You will have to revoke the privilege from PUBLIC and selectively grant it to all the rest of the users/roles etc. If are just playing with grants and privileges, you can experiment with such things in your sandbox/playpen database. I am not suggesting that you do this in a production environment.
You can find more information about user privileges and access control in the Oracle Concepts, and Administration Guides.
Regards,
> All:
> I am creating a user as:
>
> create user test1 identified by fannymayofomaha
> default tablespace def001
> temporary tablespace temp01;
> This user test1 has access to all the user_ tables and all_ tables. I
> believe that when a user is created he automatically receives the select
> priv to these all_ and user_ tables.
>
> Is there a way to REVOKE the select priv from the all_ tables for this
> user?
>
> Thanks for your input.
>
> --
> Sincerely
> Ram Srinivasan
> Charlottesville, VA.
>
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Aug 07 2007 - 21:40:55 CDT
![]() |
![]() |