all groups > asp.net security > august 2004 >
You're in the

asp.net security

group:

Windows Authentication with Asp.net and against Active Directory


Windows Authentication with Asp.net and against Active Directory Patrick
8/28/2004 4:21:01 PM
asp.net security:
How can i use Windows authentication in IIS against AD.
How will i create a WindowsPrincipal object(with asp.net) in the
Context.User property that is used for providing identity and authorization
services to my application.
How will i use the IsInRole method in WindowsPrincipal to return true or
false based on the user's AD group membership.
Re: Windows Authentication with Asp.net and against Active Directory Paul Glavich [MVP - ASP.NET]
9/2/2004 6:25:47 PM
In IIS, disable anonymous auth, enabled Windows Integrated Auth
In Web.config have something like :-
<identity impersonate="true" />
<authorization>
<allow roles="DOMAIN\DomainGroup" />
<deny users="*" />
</authorization>

--
- Paul Glavich
Microsoft MVP - ASP.NET


[quoted text, click to view]

AddThis Social Bookmark Button