DB user should not be able to find the other user names in the instatnce
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: DB user should not be able to find the other user names in the instatnce

  1. #1
    Join Date
    Aug 2001
    Posts
    5

    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.

  2. #2
    Join Date
    Sep 2001
    Location
    Makati, Philippines
    Posts
    857
    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';

  3. #3
    Join Date
    Aug 2001
    Posts
    5

    Thanks, Please let me know how one user can not know about the other usernames exisi

    Thanks, Please let me know how one user can not know about the other usernames exisiting in the DB instatnce

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,333
    dont think you can as the view all_users is granted to public and contains user information

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width