Re: ASP.NET with ADirectory role based authentication

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 12:04:32 -0500

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)



Relevant Pages

  • Re: ASP.NET with ADirectory role based authentication
    ... The example in the article provided by Paul is ... For example a USER A logs in and he is not in the group called security ... I was thinking about using ROLES in Active Directory but my Question is ... Directory?And if i can can i use form authentication directly to the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: ASP.NET with ADirectory role based authentication
    ... i have made a form authentication already with ADirectory and its ... For example a USER A logs in and he is not in the group called security ... I was thinking about using ROLES in Active Directory but my Question is ... Directory?And if i can can i use form authentication directly to the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Retrieving Users Groups from Active Directory using ASP.NET
    ... This is a security context problem that is very common in ASP.NET. ... The better approach is to look up group membership using tokenGroups. ... My web server and active directory servers are different machines. ... test by deploying the web app on the active directory machine it does ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • FormsAuthentication.Encrypt and SSL
    ... in book about security in ASP.NET I read that ... if I use Form authentication and need to make its ... data secure then I need to use SSL for all pages, ... for additional ssl usage. ...
    (microsoft.public.dotnet.framework.aspnet)