DB user should not be able to find the other user names in the instatnce
How can a user created in Oracle DB, should not know other users names in the instance. Meaning how can I revoke the privilege to access all_tables view.
all_tables will only show tables that a user have been granted with privilege either directly to a user or thru role. query the dba_tab_privs:
select grantee, privilege, table_name from dba_tab_privs where grantee = 'YOURUSER';
or the role that being granted to the user:
select grantee, granted_role from dba_role_privs
where grantee = 'YOURUSER';
Bookmarks