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 2008 Forums
 SQL Server Administration (2008)
 DENY to schema [sys]

Author  Topic 

sasan_vm
Yak Posting Veteran

51 Posts

Posted - 2014-05-30 : 11:11:59
Hello,

How to prevent sql user to access object in schema [sys],

exp: prevent from executre any procedure sys.sp_......, objects...
I need t-sql code.

Best Regards,
sasan.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-05-30 : 13:07:27
Why do they have access in the first place? Are you referring to sysadmin or db_owner users? Regular users don't automatically have access to anything.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -