August 28, 2012 at 11:19 am
We do most of our right granting through AD groups. Can I explicitly restrict or deny access to just read for a single person from a group that has read/write? Or, let the group have read/write to DB and deny write rights to a single table for a user in that AD group?
There is an exception to every rule, except this one...
August 28, 2012 at 11:46 am
SQLHeap (8/28/2012)
We do most of our right granting through AD groups. Can I explicitly restrict or deny access to just read for a single person from a group that has read/write? Or, let the group have read/write to DB and deny write rights to a single table for a user in that AD group?
Yes, as long as the logon related to the user is not a sysadmin, you can explicitly deny any permissions you want;
DENY INSERT,UPDATE,DELETE ON dbo.PAYROLLTABLE TO [MyDomain\SpecificName]
DENY INSERT,UPDATE,DELETE ON PAYROLLTABLE TO [MyDomain\GroupName]
if they are sysadmin(which is where this exact question often comes up, then you must take away their sysadmin priviledges and give them a role more appropriate to what they should be doing.
you cna never deny a sysadmin, basically.
Lowell
August 28, 2012 at 11:49 am
That works, thanks.
There is an exception to every rule, except this one...
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply