How will you enforce security using stored procedures ?
Answers were Sorted based on User's Feedback
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 |
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 |
What is Privilege Auditing ?
When will the data in the snapshot log be used ?
What is Object Auditing ?
What are the use of Roles ?
Differentiate simple and complex, snapshots ?
what is snapshot log ?
What are the steps to switch a database's archiving mode between NO ARCHIVELOG and ARCHIVELOG mode ?
What are the dictionary tables used to monitor a database spaces ?
What are the options available to refresh snapshots ?
How can you enable automatic archiving ?
What are roles ? How can we implement roles ?
How can you Enforce Refrencial Integrity in snapshots ?