Unix Technical Forum

Prevent Excel and Access access to SQL 2000

This is a discussion on Prevent Excel and Access access to SQL 2000 within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi, I'd like to prevent Excel and Access (well any Microsoft Office application) from gaining access to a SQL ...


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
Jimbo
 
Posts: n/a
Default Prevent Excel and Access access to SQL 2000

Hi,

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?

Thanks,

James.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2008, 03:12 PM
Erland Sommarskog
 
Posts: n/a
Default Re: Prevent Excel and Access access to SQL 2000

Jimbo (james.goodwill@googlemail.com) 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@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
  #3 (permalink)  
Old 05-10-2008, 03:12 PM
Leif Neland
 
Posts: n/a
Default Re: Prevent Excel and Access access to SQL 2000


"Jimbo" <james.goodwill@googlemail.com> skrev i en meddelelse
news:6ef5740f-32cb-40ad-8239-92783057072d@d45g2000hsc.googlegroups.com...
> Hi,
>
> 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.
>

Ever heard of passwords?



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:30 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