Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
 

Oracle Tips by Burleson

Chapter 8 General Oracle Auditing

CLIENT_ID
---------------------------
ARUP

The audit trail captured the client identifier application context. If the user APPUSER logs in from two different places and sets the client identifier unique to each session, the actions go into the audit trail along with the client identifiers.

This concept can be applied in the application user concept. The client identifier can be set to some meaningful value such as the application user. So, if the application user CLARA issues the select query, the client identifier can be set to CLARA, which then goes into the audit trail. At the beginning of every session, the application must call

begin
   dbms_session.set_identifier (p_app_user);
end;

The application knows the name of the user; so it can assign the value of p_user_id variable. After that, every time the audit trail is generated, the client identifier CLARA also tags along.

Security

So far, it has been simple; but here comes a monkey wrench into the wheel. The whole mechanism is based on two very important assumptions:

  • That the user will call the line dbms_session.set_identifier as the first task in a session.
     

  • That the user will supply the correct name of the application user to the packaged procedure.


The above text is an excerpt from the bestselling book: Oracle Privacy Security Auditing It's only $39.95 and has an download of working security scripts:

 

This is the only authoritative book on Oracle Security, Oracle Privacy, and Oracle Auditing written by two of the world’s leading Oracle Security experts.

This indispensable book is only $39.95 and has an download of working security scripts:

 

http://rampant-books.com/book_2003_2_audit.htm

 


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

 

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2016 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks