PC Review


Reply
Thread Tools Rate Thread

Authentication and impersonation

 
 
Eric
Guest
Posts: n/a
 
      21st Oct 2005
I setup a intranet application based on windows integrated
authentication .


windows integrated authentication checked in IIS
and anonymous access unchecked.


i have used impersonation in my web config file
<identity impersonate="true" >
<authorization>
<allow roles="mydomain\group_a"/>
<deny users="*/>
</authorization>


a User A belongs to group_a but not to group_b


group_b is a group that i have added to SQL server in order to set
permissions on data.


i'm using a trusted connection to the SQL database throught a
webservice.


when i try to access the application in my browser with user A , as A
is member of the group_a , his access is granted to the page but he can
also access data in the database although he doesn't belong to group_b
configured in SQL server to access data.this user A doesn't belong to
any other group and has no login in SQL as well.


Why does this user have access to data although he has neither login
nor belongs to any groups that have access to sql server?


if we are using impersonation=true without any username and login
specified it's normally the authenticated user token that is used to
check the access to SQL server or did i missunderstood the mecanism?


if some could tell me what i did wrong , i would be very grateful.


Thank in advance for any help.


Eric

 
Reply With Quote
 
 
 
 
Tasos Vogiatzoglou
Guest
Posts: n/a
 
      21st Oct 2005
Most probably user_A is member of a group that has permissions on the
SQL Server. Check the groups that have access to SQL server including
the local machine security groups.

user_A may be a member of the local administrators group.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL server authentication using impersonation misterhodes@googlemail.com Microsoft ADO .NET 0 11th May 2009 10:02 AM
windows integrated authentication and impersonation Eric Microsoft ASP .NET 1 19th Oct 2005 02:04 PM
ASP.NET Authentication / Impersonation issues Shikari Shambu Microsoft ASP .NET 0 17th Aug 2004 08:08 PM
Problems with authentication/impersonation andrew_webby at hotmail Microsoft VB .NET 13 6th Apr 2004 10:21 PM
Impersonation with forms authentication ? Eric Veltman Microsoft ASP .NET 2 9th Dec 2003 05:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:43 PM.