Windows Authentication with Asp.net and against Active Directory

Discussion in 'ASP .Net Security' started by Patrick, Aug 29, 2004.

  1. Patrick

    Patrick Guest

    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
     
    Patrick, Aug 29, 2004
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:...
    > 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
     
    Paul Glavich [MVP - ASP.NET], Sep 2, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul East
    Replies:
    3
    Views:
    305
    Beginner
    Mar 2, 2004
  2. Jon Delano

    Authentication against active directory

    Jon Delano, Jul 22, 2004, in forum: ASP .Net Security
    Replies:
    1
    Views:
    164
    Joe Kaplan \(MVP - ADSI\)
    Jul 25, 2004
  3. Ruggiero, Vince
    Replies:
    0
    Views:
    756
    Ruggiero, Vince
    Dec 14, 2009
  4. Ruggiero, Vince
    Replies:
    0
    Views:
    896
    Ruggiero, Vince
    Dec 14, 2009
  5. James Yang
    Replies:
    3
    Views:
    137
    James Yang
    Aug 23, 2007
Loading...

Share This Page