Re: ASP.NET with ADirectory role based authentication
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 08/26/04
- Previous message: Paul Clement: "Re: ASP.NET with ADirectory role based authentication"
- In reply to: Paul Clement: "Re: ASP.NET with ADirectory role based authentication"
- Next in thread: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Reply: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 Aug 2004 12:35:40 -0500
Additionally, you can use Google groups to find some other examples of doing
the group lookup properly. The example in the article provided by Paul is
okay, but it has a few flaws in it that could cause you trouble. I've
written about it here pretty extensively. Until I am successful at getting
the PAG guys to update the article with better code, you'll have to find it
via other sources. TokenGroups is the keyword.
Joe K.
"Paul Clement" <UseAdddressAtEndofMessage@swspectrum.com> wrote in message
news:dn5si0pv1ngp9f944btlm7lptf0fo5ktbc@4ax.com...
> On Thu, 26 Aug 2004 02:51:59 -0700, naijacoder naijacoder
<naijacoder@toughguy.net> wrote:
>
> ¤ Thanks very much for the reply and for the article but
> ¤ i have made a form authentication already with ADirectory and its
> ¤ working FINE!
> ¤ But what i want to do now is to authenticate against a particular GROUP
> ¤ for example Security in Active Directory.
> ¤ For example a USER A logs in and he is not in the group called security
> ¤ he shouldn't have access and if he is in the GROUP Security then he
> ¤ should be authenticated.
> ¤ I was thinking about using ROLES in Active Directory but my Question is
> ¤ that can i have roles created in Windows 2000 server Active
> ¤ Directory?And if i can can i use form authentication directly to the
> ¤ ROLES in Actice Directory!!.
> ¤ Thnaks in advance and all ideas are welcome.
> ¤
>
> The link posted by Mohamed has a subtopic link (in the Contents section)
to a function that
> enumerates the user's group membership:
>
> Develop LDAP Group Retrieval Code to Look Up the User's Group Membership
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod16.asp
>
>
> Paul ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)
- Previous message: Paul Clement: "Re: ASP.NET with ADirectory role based authentication"
- In reply to: Paul Clement: "Re: ASP.NET with ADirectory role based authentication"
- Next in thread: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Reply: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|