Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 block Adhoc queries

Author  Topic 

arifktdm
Starting Member

6 Posts

Posted - 2005-06-06 : 12:38:19
Hi,
Is there a way to block adhoc queries from Client application to SQL Server, I would like to allow scripts only thru stored procedures.

Thanks

X002548
Not Just a Number

15586 Posts

Posted - 2005-06-06 : 12:42:44
Absolutley...

Only Grant EXECUTE to stored procedures, and revoke all other access.



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx
Go to Top of Page
   

- Advertisement -