Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best way of auditing actions 1

Status
Not open for further replies.

scorpio66

Programmer
Jun 27, 2001
229
GB
Can anyone recommend a way of securely auditing certain actions that an application does?

The application is multi-user and database driven, but I don't really want the audit log on the same database as in the event of a compromised system, the audit log will be untrustworthy.

Not looking for code, really, just suggestions.
 
Well, for 'just suggestions', create a different db. Use "bound forms" for all data transactions. On each event which changes data in the database tables, in the after update event, check the dirty flag of each data bound control. If it is set, log the used info, the date/time stamp old value, new value and primary key of hte record to the audit table. Loook at faq181-291 (Ms. Access) for one example of this (although the table is in the same db, that should be just a minor change to the overall concept).

MichaelRed
mred@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top