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 / March 2006

Tip: Looking for answers? Try searching our database.

Monitor service account logins

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lightning-dave - 27 Mar 2006 13:18 GMT
Hello,

I've been asked to create a method of alerting if the account that the
MSSQLSERVER service runs under is used to attempt to log into the
database from another workstation. Here's what I've thought of so far:

OPTION 1: Monitoring for all login attempts. I don't want to do this as
we get about 200,000 logins an hour ( a seperate issue).

OPTION 2: I could do it via a server side trace but I'm not sure how I
could get an alert out of this without reading the trace file every
couple of minutes.

OPTION 3: I could run a query every minute that queries the
sysprocesses table but this leaves the possibility of sessions that
last under a minute not being picked up.

Can anyone think of a more elegant way of doing this? I'm leaning
towards option 2.

Cheers

Dave
Kent Tegels - 27 Mar 2006 15:17 GMT
Hello lightning-dave,

> I've been asked to create a method of alerting if the account that the
> MSSQLSERVER service runs under is used to attempt to log into the
> database from another workstation. Here's what I've thought of so far:
> OPTION 2: I could do it via a server side trace but I'm not sure how I
> could get an alert out of this without reading the trace file every
> couple of minutes.

If you are running SQL 2005, you might want to give this [0] a read and see
if it useful in this case. Instead of having the event write to an output
table, you could have send an email, alert, whatever.

http://www.sqljunkies.com/WebLog/ktegels/articles/EventNotifications.aspx

Thank you,
Kent Tegels
DevelopMentor
http://staff.develop.com/ktegels/
lightning-dave - 27 Mar 2006 15:53 GMT
Thanks for the link. Unfortunately we're still on SQL2K - should have
mentioned that on my first message.

> Hello lightning-dave,
>
[quoted text clipped - 15 lines]
> DevelopMentor
> http://staff.develop.com/ktegels/
 
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.