Re: User permissions.
From: Dan Guzman (danguzman_at_nospam-earthlink.net)
Date: 08/01/03
- Next message: VUILLERMET Jacques: "Re: Database security"
- Previous message: Andrew J. Kelly: "Re: maximum number of accounts"
- In reply to: Sezgin Rafet: "User permissions."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 1 Aug 2003 08:02:09 -0500
> I want to review the permissions on user basis-for example which
tables is
> user C able to access.
EXEC sp_helprotect @username = 'UserC'
> My second question - does "deny" have no effect if a user is a member
of the
> System Admins Server Role ?
You are correct that DENY has no effect on sysadmin role members because
these users are automatically aliased to dbo in all databases on the
server and the dbo user has full permissions the database..
Also note that the db_owner fixed database role is very a powerful one.
db_owner role members can manipulate database security and can grant
themselves permissions on objects even if they were previously denied.
You shouldn't routinely add users to this role.
-- Hope this helps. Dan Guzman SQL Server MVP ----------------------- SQL FAQ links (courtesy Neil Pike): http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800 http://www.sqlserverfaq.com http://www.mssqlserver.com/faq ----------------------- "Sezgin Rafet" <srafet@hotmail.com> wrote in message news:OsGylDAWDHA.484@TK2MSFTNGP09.phx.gbl... > I have standart users connecting to SQL Server and want to aplly > restrictrictions to their database objects access. Let's say we have users > A,B and C and 100 tables -T1 through T100 in database D1. I give all the > users access to DB1 and make them members of the public and db_owner > Database Roles with no Server Roles membership. Then I run "deny all on > table_name to user_name" and repeat for all tables and users. 2 weeks later > I want to review the permissions on user basis-for example which tables is > user C able to access. What is the best way to do that ? > > My second question - does "deny" have no effect if a user is a member of the > System Admins Server Role ? > >
- Next message: VUILLERMET Jacques: "Re: Database security"
- Previous message: Andrew J. Kelly: "Re: maximum number of accounts"
- In reply to: Sezgin Rafet: "User permissions."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|