Re: newbie help - Active Directory Membership Provider
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 21 May 2008 00:14:29 -0500
Basically, I was just trying to say that there is no role provider that
comes with ASP.NET that works with AD groups by default except for the
WindowsTokenRoleProvider, but that provider requires that you use
Windows/IIS for authentication instead of forms auth.
My co-author has an experimental LDAP-based role provider at codeplex (ADRP)
that works with the AD membership provider.
If you don't need the AD group for authorization, then you can use whatever
role provider you want.
I hope that clarifies what I was trying to say. :)
You can just use Basic authentication for the remote users combined with
SSL. There is no real need to use forms auth here. If you want to use
forms auth you can, but then you don't get the Windows token.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"SpaceMarine" <spacemarine@xxxxxxxxxxxxxx> wrote in message
news:69358672-75af-4a58-9c9e-7e35b3efd3bb@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 20, 9:27 pm, "Joe Kaplan"
<joseph.e.kap...@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Note that if you use the AD membership provider, there is no matching role
provider that works with that.
im not sure i understand -- it sounds like youre saying that if i
decide to use AD forms-based authentication, that i would be unable to
use *any* role provider? that cant be right. isnt the entire purpose
of abstract providers that it doesnt matter *which* provider is being
implemented? im expecting to be able to use the AD membership
provider, and a SQL role provider. (this makes sense, because while
the user-base is shared w/i an org, the roles are tailored & varied to
each particular application)
Thus if you want to use the Windows token to
do validation, you must use an authentication mechanism that gets you a
Windows token. The AD membership provider is a forms auth implementation
and doesn't get a Windows token.
im not sure yet which we will be using. if our app were for 100%
desktop users it would be simple. but i have to consider our VPN users
from remote, shared workstations -- those users may force a forms-
based authentication. if so, it would 100% have to authenticate
against an AD source since our org is very large and uses AD; i cant
be recreating every user in an app-specific database. roles yes, users
no.
this doesnt sound problematic does it?
thanks,
sm
.
- Follow-Ups:
- Re: newbie help - Active Directory Membership Provider
- From: SpaceMarine
- Re: newbie help - Active Directory Membership Provider
- References:
- newbie help - Active Directory Membership Provider
- From: SpaceMarine
- Re: newbie help - Active Directory Membership Provider
- From: SpaceMarine
- Re: newbie help - Active Directory Membership Provider
- From: Joe Kaplan
- Re: newbie help - Active Directory Membership Provider
- From: SpaceMarine
- newbie help - Active Directory Membership Provider
- Prev by Date: Re: newbie help - Active Directory Membership Provider
- Next by Date: Re: wonky <authorization> (order matters?)
- Previous by thread: Re: newbie help - Active Directory Membership Provider
- Next by thread: Re: newbie help - Active Directory Membership Provider
- Index(es):
Relevant Pages
|