Re: db_denydatawriter
- From: Ant <Ant@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 24 Oct 2007 03:04:01 -0700
Hi Erland,
Thank you very much for all the support & interest you gave to this issue.
We resolved the problem here.
I found out that for some reason our IOS team had given her local admin
rights to the server on which SQL Server is hosted. This overrode the SQL
Server permissions. Once she had her local admin revoked, her SQL roles
behaved as expected.
My Apologies for this.
Thank you very much however. You taught me a lot any way.
Cheers
Ant
"Erland Sommarskog" wrote:
Ant (Ant@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:.
Hi Erland, sorry for the late response. I had to wait till Monday to be
back in the office.
I did an update on her PC logged in as her & I could update, so yes,
deny_Writer is not restricting her to Update .
I checked her permissions & she definitely has only Public,
db_denyWriter & db_reader.
When I ran sp_who2, I could see her login & her host name.
Sorry to be vague about this but I really am not sure why she can Update.
Can you run this query in the database in question:
select g.name, u.name
from sysusers u
join sysmembers m ON u.uid = m.memberuid
join sysusers g ON g.uid = m.groupuid
where u.name = 'herusername'
Also run this:
SELECT xstatus FROM master..sysxlogins WHERE name = 'herlogin'
Is she using an SQL login or a Windows login?
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
- References:
- Re: db_denydatawriter
- From: Uri Dimant
- Re: db_denydatawriter
- From: Erland Sommarskog
- Re: db_denydatawriter
- From: Erland Sommarskog
- Re: db_denydatawriter
- From: Erland Sommarskog
- Re: db_denydatawriter
- Prev by Date: Re: Does local admin rights override SQL server permissions
- Next by Date: Password MDF
- Previous by thread: Re: db_denydatawriter
- Next by thread: Re: Restrict access for single user to certain tables?
- Index(es):
Relevant Pages
|
|