From the course: Oracle Database 12c: Security

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Object permissions

Object permissions - Oracle Database Tutorial

From the course: Oracle Database 12c: Security

Start my 1-month free trial

Object permissions

- [Lecturer] For each object created in the Oracle database you can assign or grant permissions. For example, you can grant specific database users the capability to interact with specific database objects, such as selecting data from tables or executing stored procedures. Lets see a quick example of Oracle object permissions in action. We will start by connecting to our ORC pluggable database as the sysdba user. So type sqlplus sys/oracle@orcl as sysdba. Let's also grant user two, which is the user we created earlier in our chapter the ability to create procedures, create views and create tables. So I'll type grant create procedure, create view, create table to, and the user name, user2 in our case. Now let's click our sql dot session and reconnect to the database using this user two local user. So I'll type quit; And sqlplus user2/secret@orcl. I'm now connected to the ORCL pluggable database as user two. Now let's create a new table and insert some rows into it. You can find the…

Contents