How will you enforce security using stored procedures ?

Answers were Sorted based on User's Feedback



How will you enforce security using stored procedures ?..

Answer / guest

Don't grant user access directly to tables within the
application.

Instead grant the ability to access the procedures that
access the tables.

When procedure executed it will execute the privilege of
procedures owner. Users cannot access tables except via the
procedure.

Is This Answer Correct ?    3 Yes 0 No

How will you enforce security using stored procedures ?..

Answer / sudhakar

set role to users dynamically, the user to have just the
connect role initially and execute permission to the store
proc which authenticates the user. Upon authentication, set
the role required accordingly within the store proc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Security Interview Questions

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

1 Answers  


What are the benefits of distributed options in databases ?

1 Answers  


What are roles ? How can we implement roles ?

2 Answers  


what is the step for rmanbackup?

1 Answers  


What are the dictionary tables used to monitor a database spaces ?

2 Answers  






How will you enforce security using stored procedures ?

2 Answers  


What is user Account in Oracle database ?

2 Answers  


What is Object Auditing ?

2 Answers  


What are the options available to refresh snapshots ?

2 Answers  


What are the responsibilities of a Database Administrator ?

3 Answers  


What are Roles ?

2 Answers  


What are the use of Roles ?

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)