Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Re: Prevent Exc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 11023 of 11420
Post > Topic >>

Re: Prevent Excel and Access access to SQL 2000

by Erland Sommarskog <esquel@[EMAIL PROTECTED] > May 7, 2008 at 09:48 PM

Jimbo (james.goodwill@[EMAIL PROTECTED]
) writes:
> I'd like to prevent Excel and Access (well any Microsoft Office
> application) from gaining access to a     SQL 2000 instance, via an
> ODBC connection.
> 
> If this we're SQL 2005, I create a logon trigger, and just kill off
> unwanted connections.
> 
> Can anyone suggest how I can achieve this is SQL 2000?

A scheduled job that runs once a minute, and which looks at the 
program_name column in sysprocesses and kills it off if the name
is unsuitable. Users that knows how to write a connection string,
can work around that though. (Then again, they can work around your
login trigger on SQL 2005 as well.)



-- 
Erland Sommarskog, SQL Server MVP, esquel@[EMAIL PROTECTED]
 Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
 




 3 Posts in Topic:
Prevent Excel and Access access to SQL 2000
Jimbo <james.goodwill@  2008-05-07 00:54:21 
Re: Prevent Excel and Access access to SQL 2000
Erland Sommarskog <esq  2008-05-07 21:48:31 
Re: Prevent Excel and Access access to SQL 2000
"Leif Neland" &  2008-05-08 12:21:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 8:40:55 CDT 2008.