Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Database User with Only Create Session Privilege is able to access all data dictionary views

sudiptabhaskarJul 22 2021 — edited Jul 22 2021

Hello Everyone,
I created user with only "Create Session" Privilege. But I can see that it is able to access all data dictionary views. Is it the default behavior?
SQL> create user bhaskar identified by *******;
User created.

SQL> grant create session to bhaskar;
Grant succeeded.

SQL> conn bhaskar
Enter password:
Connected.

User => BHASKAR has been granted the following privileges
====================================================================
SYS PRIV => CREATE SESSION grantable => NO

SQL> select count(*) from sys.KU$_TYPE_VIEW;
COUNT(*)
----------
0
SQL> select count(*) from sys.v_$BH;
COUNT(*)
----------
12579
SQL> select file_name from sys.dba_data_files;
FILE_NAME
--------------------------------------------------------------------------------
/u01/app/oracle/oradata/NONCDB/datafile/o1_mf_system_hp9nptdf_.dbf
/u01/app/oracle/oradata/NONCDB/datafile/o1_mf_sysaux_hp9nqmht_.dbf
/u01/app/oracle/oradata/NONCDB/datafile/o1_mf_users_hp9nr3mg_.dbf
/u01/app/oracle/oradata/NONCDB/datafile/o1_mf_undotbs1_hp9nr2kv_.dbf

4 rows selected.

This post has been answered by EdStevens on Jul 23 2021
Jump to Answer

Comments

Processing

Post Details

Added on Jul 22 2021
5 comments
547 views