Unix Technical Forum

How to implement Audit/Alert for Row level access?

This is a discussion on How to implement Audit/Alert for Row level access? within the SQL Server forums, part of the Microsoft SQL Server category; --> Hello, We have a large database of our customers. Some of the important customers records are flagged and can ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-07-2008, 11:15 AM
Neil Jones
 
Posts: n/a
Default How to implement Audit/Alert for Row level access?

Hello,

We have a large database of our customers. Some of the important
customers records are flagged and can be accessed only by applications
designed for upper management. The management would like to know if
anyone else is trying or successfully accessed the flagged customers.

Is there anyway to send an email alert when a normal user/sysadmin tries
to access the flagged customers in the table?

Thank you in advance for any help.

NJ
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-07-2008, 11:15 AM
Tom van Stiphout
 
Posts: n/a
Default Re: How to implement Audit/Alert for Row level access?

On Mon, 05 May 2008 21:09:00 -0400, Neil Jones
<castellan2004-atnews@yahoo.com> wrote:

You may have a logic error in your question, because if your assertion
"can be accessed only by applications designed for upper management"
is true, then obviously no one else has successfully accessed the
flagged customers.

-Tom.


>Hello,
>
>We have a large database of our customers. Some of the important
>customers records are flagged and can be accessed only by applications
>designed for upper management. The management would like to know if
>anyone else is trying or successfully accessed the flagged customers.
>
>Is there anyway to send an email alert when a normal user/sysadmin tries
>to access the flagged customers in the table?
>
>Thank you in advance for any help.
>
>NJ

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-07-2008, 11:15 AM
Neil Jones
 
Posts: n/a
Default Re: How to implement Audit/Alert for Row level access?

Ok. Well, actually anyone user can access the data in the table. We
would like to monitor the access to the flagged customers.

NJ

Tom van Stiphout wrote:
> On Mon, 05 May 2008 21:09:00 -0400, Neil Jones
> <castellan2004-atnews@yahoo.com> wrote:
>
> You may have a logic error in your question, because if your assertion
> "can be accessed only by applications designed for upper management"
> is true, then obviously no one else has successfully accessed the
> flagged customers.
>
> -Tom.
>
>
>> Hello,
>>
>> We have a large database of our customers. Some of the important
>> customers records are flagged and can be accessed only by applications
>> designed for upper management. The management would like to know if
>> anyone else is trying or successfully accessed the flagged customers.
>>
>> Is there anyway to send an email alert when a normal user/sysadmin tries
>> to access the flagged customers in the table?
>>
>> Thank you in advance for any help.
>>
>> NJ

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-07-2008, 11:15 AM
Tom van Stiphout
 
Posts: n/a
Default Re: How to implement Audit/Alert for Row level access?

On Tue, 06 May 2008 03:03:22 -0400, Neil Jones
<castellan2004-atnews@yahoo.com> wrote:

Just checking.

You can apply SQL Server security to revoke access to that table, then
create two views:
select * from SecretTable
and give access to the Mgmt group only
and:
select * from SecretTable
where ImportantCustomerRecFlag = 0
and give access to Everyone.

-Tom.


>Ok. Well, actually anyone user can access the data in the table. We
>would like to monitor the access to the flagged customers.
>
>NJ
>
>Tom van Stiphout wrote:
>> On Mon, 05 May 2008 21:09:00 -0400, Neil Jones
>> <castellan2004-atnews@yahoo.com> wrote:
>>
>> You may have a logic error in your question, because if your assertion
>> "can be accessed only by applications designed for upper management"
>> is true, then obviously no one else has successfully accessed the
>> flagged customers.
>>
>> -Tom.
>>
>>
>>> Hello,
>>>
>>> We have a large database of our customers. Some of the important
>>> customers records are flagged and can be accessed only by applications
>>> designed for upper management. The management would like to know if
>>> anyone else is trying or successfully accessed the flagged customers.
>>>
>>> Is there anyway to send an email alert when a normal user/sysadmin tries
>>> to access the flagged customers in the table?
>>>
>>> Thank you in advance for any help.
>>>
>>> NJ

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-07-2008, 11:15 AM
--CELKO--
 
Posts: n/a
Default Re: How to implement Audit/Alert for Row level access?

>> The management would like to know if anyone else is trying or successfully accessed the flagged customers. <<

This is a HIPAA requirement and it is best done with third party
software that has been certified. Conventional tools based off the
log files will show changes, but not access by user.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-07-2008, 11:15 AM
Lennart
 
Posts: n/a
Default Re: How to implement Audit/Alert for Row level access?

On May 6, 5:54 pm, --CELKO-- <jcelko...@earthlink.net> wrote:
> >> The management would like to know if anyone else is trying or successfully accessed the flagged customers. <<

>
> This is a HIPAA requirement and it is best done with third party
> software that has been certified. Conventional tools based off the
> log files will show changes, but not access by user.


Joe, you don't happen to have a list of such software?


/Lennart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-07-2008, 11:15 AM
Erland Sommarskog
 
Posts: n/a
Default Re: How to implement Audit/Alert for Row level access?

Neil Jones (castellan2004-atnews@yahoo.com) writes:
> We have a large database of our customers. Some of the important
> customers records are flagged and can be accessed only by applications
> designed for upper management. The management would like to know if
> anyone else is trying or successfully accessed the flagged customers.
>
> Is there anyway to send an email alert when a normal user/sysadmin tries
> to access the flagged customers in the table?
>
> Thank you in advance for any help.


In SQL 2000 and SQL 2005 there is very little support for this in
the product. You can set up a trace to caputre access to these tables.
You would then need a program that reads these trace files and checks
them for violation.

If you can afford to rework your applications, you can revoke access to
the underlying tables, and expose the customers through views. All
customers in one view, and another view with only non-flagged customers.
Only upper management would have permission to the former view.

In SQL 2008, currently in beta, there is a new auditing feature that I
think could meets your needs to some extent. But you would still have
to monitor the auditing log for violations on your own.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-07-2008, 07:20 PM
--CELKO--
 
Posts: n/a
Default Re: How to implement Audit/Alert for Row level access?

>> Joe, you don't happen to have a list of such software? <<

Craig Mullins likes NEON, so I'd start there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:09 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com