Re: permissions not working
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Fri, 15 Feb 2008 14:49:16 -0500
Jenn,
I imagine that there is some unexpected rights that your user has that you
have not found. By now, you have probably already done:
use yourdatabase
exec sp_helplogins 'loginname' -- login overall rights
exec sp_helpuser 'username' -- user role membership
exec sp_helprotect @username='username' -- directly assigned rights
Be sure to repeat the sp_helprotect for each role that has the user as a
member.
Slightly more mysterious:
I understand that this is a Windows login you are testing. Do you tend to
grant rights to Windows Groups (as I do) rather than Windows Logins? If so,
then another thing to check is "What Windows Groups with access to my server
have this login as a member?" Then, "What rights are granted to those
groups?" This is a little more subtle if you don't have access to domain
tools, but you can do the following from SQL Server running as the
'loginname' that you are having trouble with.
select name from master.dbo.syslogins where is_member(name) = 1
This will return all logins with the current login as a member. If this
exposes a security context that you did not know about, then you can pursue
what rights that group has.
FWIW,
RLF
"JEM" <Jenn@xxxxxxxxxxxxxxxxx> wrote in message
news:8a231594-97c5-4be5-8461-bee6b03df823@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi. I have a SQL Server 2000 database,using Windows Authentication,
and have created some new roles and assigned permissions to the
various tables, views and sprocs. However, the permissions are not
working. When I log on as a user in one of the roles, i still have
access to insert, update, delete records in tables that i have
specifically denied permissions on (they should only have select
permissions which they have). I am able to log onto Query Analyzer
and do everything with the table that i should not be able to do. The
user is only a member of public and this role. The objects are all
owned by dbo. Any ideas?
Thanks,
jenn
.
- References:
- permissions not working
- From: JEM
- permissions not working
- Prev by Date: permissions not working
- Next by Date: Re: Linked Server access fails when executed as a job
- Previous by thread: permissions not working
- Next by thread: Re: permissions not working
- Index(es):
Relevant Pages
|