If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Auditing SELECTS in DB2 UDB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-04, 13:49
brunod brunod is offline
Registered User
 
Join Date: Jun 2004
Posts: 9
Question Auditing SELECTS in DB2 UDB

Hi,

I would like to know if anyone has experience with auditing Select statements in DB2 UDB version 7.2 or higher for HP-UX.

Basically, we need to audit each attempt at reading a row containing sensitive information within given tables.

If a user performs a SELECT * FROM TABLE, then audit entries must be made in a separate audit table for each records returned by the select statement along with the USER ID of the account performing the SELECT statement.

It is very important for us to record the actual data returned and not just the action itself since the recording of the actual select statement does not give us a snapshot of the data that was available at the time the query was made.

If anyone can provide some guidance as to how this can be performed transparently (without the use of stored procedures!), be it with 3rd party tools or other means, I would really appreciate finding out!

Thanks in advance for your help!

Bruno
Reply With Quote
  #2 (permalink)  
Old 06-17-04, 10:45
blom0344 blom0344 is offline
Registered User
 
Join Date: Jan 2003
Location: Zutphen,Netherlands
Posts: 256
Are you sure this is a practical approach? What would you gain if someone would issue a 'select * from table' if this is a million records facttable.

Many people issue such a command just to see what is in the table in terms of fields/ general information. A second step would be to specify conditions to get at the proper records.

I believe version 8 has the ability to store SQL statements in the database itself, although this will not help in getting the exact info the user got at the moment of query-execution..........
__________________
Ties Blom
Senior Application Developer BI
Getronics Healthcare
DB2,ORACLE,Powercenter,BusObj,Access,
SQL, SQL server
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On