Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / July 2007

Tip: Looking for answers? Try searching our database.

Custom Auditing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael MacGregor - 20 Jul 2007 15:55 GMT
We are having to implement restrictive security permissions on SQL, some of
which requires that we audit and log any access of any kind for specific
tables and columns. What would be the best way to do this? We can use
triggers to log any changes to specific tables and columns, but we can't use
those when a user is simply retrieving sensitive and encrypted data from a
table. We could lock down access permissions to those tables so that only
authorized users can execute stored procedures, and have code to log such
access in the procs themselves, but we need to ensure that even if the dbo
or sa were to access that data, that it would be logged.

TIA

Michael MacGregor
Database Architect
Russell Fields - 20 Jul 2007 15:59 GMT
Michael,

If you want to log accesses, even of the dbo or sa, then you pretty much
will have to use Profiler.  You can put the traces into tables for online
auditing, either directly or by periodically importing the trace files.

There are also probably some third-party auditing tools.

RLF
> We are having to implement restrictive security permissions on SQL, some
> of which requires that we audit and log any access of any kind for
[quoted text clipped - 10 lines]
> Michael MacGregor
> Database Architect
Michael MacGregor - 20 Jul 2007 16:07 GMT
Thanks again Russell.

MTM
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.