Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Windows Authentication with Asp.net and against Active Directory

Reply
Thread Tools

Windows Authentication with Asp.net and against Active Directory

 
 
Patrick
Guest
Posts: n/a
 
      08-28-2004
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.
If u have any code articles and resources please pass it over
 
Reply With Quote
 
 
 
 
Paul Glavich [MVP - ASP.NET]
Guest
Posts: n/a
 
      09-02-2004
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


"Patrick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
> If u have any code articles and resources please pass it over



 
Reply With Quote
 
 
 
Reply

Thread Tools

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
How to authenticate against the Active Directory using forms authentication with password expiration check? Ruggiero, Vince ASP .Net Web Services 0 12-14-2009 09:31 PM
How to authenticate against the Active Directory using forms authentication with password expiration check? Ruggiero, Vince ASP .Net Web Controls 0 12-14-2009 09:30 PM
MD5 authentication against Active Directory with ruby ldap James Yang Ruby 3 08-23-2007 01:41 PM
Authentication against active directory Jon Delano ASP .Net Security 1 07-24-2004 11:33 PM
Problems when authenticating against the Active Directory using Forms Authentication and Visual Basic .NET Paul East ASP .Net Security 3 03-02-2004 12:08 AM



Advertisments