What are Roles ?

Answers were Sorted based on User's Feedback



What are Roles ?..

Answer / www.cdigital.com.pk

A Role is a named group of related privileges that can be
granted to the user. This method makes it easier to revoke
and maintain privileges. A user can have access several
roles and several ser can be assigned the same role. Role
is typically created for a database application.
You create a role with the create role command and then
grant the role to the user with the grant command as
following:

SQL> Create role update_role;

SQL> Grant update on EMP, DEPT to update_role;

Now you can grant this role to other users ACC1. Once this
is done and now ACC1 will be able to update the EMP and
DEPT tables in the SCOTT schema:

SQL> GRANT update_role TO ACC1;

If you wish to revoke a role from a user, simply use the
revoke command as following:

SQL> REVOKE update_role FROM ACC1;

Is This Answer Correct ?    2 Yes 0 No

What are Roles ?..

Answer / pavan_1981

roles are virtual and are group of privelages.privelages
can be assined to the roles just as we do to users.they can
also be password protected.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle Security Interview Questions

How to prevent unauthorized use of privileges granted to a Role ?

1 Answers  


How can we reduce the network traffic ?

3 Answers   Keane India Ltd,


What are the different Levels of Auditing ?

1 Answers  


What are the database administrators utilities avaliable ?

2 Answers  


What is Tablespace Quota ?

2 Answers  






What dynamic data replication ?

2 Answers  


How will you enforce security using stored procedures ?

2 Answers  


what is the step for rmanbackup?

1 Answers  


What are the benefits of distributed options in databases ?

1 Answers  


What are the roles and user accounts created automatically with the database ?

1 Answers  


What is Privilege Auditing ?

1 Answers  


What are the various type of snapshots ?

3 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)