Re: Forms Authentication - Active Directory
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Jun 2007 10:50:23 +0000 (UTC)
They are all not very helpful in your situation.
The WindowsTokenRoleProvider only works with windows auth - not forms.
Ryan an me have written an ActiveDirectoryRoleProvider - which seems to work for most people...
i can send you the code if you are interested...
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
On Jun 11, 10:48 am, oriol.arde...@xxxxxxxxx wrote:
Hi,You would need a role provider.
I have an asp.net 2.0 application with forms authentication. I am
authenticating the users to an Active Directory Server with
ActiveDirectoryMembershipProvider which works as expected and users
get authenticated.
What I am trying to do is to get also the role information from the
Active Directory Server with the groups where the users belong to.
Is there any way to achieve it ? Can it be done by enabling some
provider in the role manager section of the web.config file ?
any help will be appreciated, thx in advance,
ori
WindowsTokenRoleProvider for using Active Directory groups as roles
AuthorizationStoreProvider - for Windows 2003 and ADAM SqlRoleProvider
for storing roles in SQL Server
More about WindowsTokenRoleProvider
http://msdn2.microsoft.com/en-us/library/system.web.security.windowsto
kenroleprovider.aspx
.
- Follow-Ups:
- Re: Forms Authentication - Active Directory
- From: Joe Kaplan
- Re: Forms Authentication - Active Directory
- From: oriol . ardevol
- Re: Forms Authentication - Active Directory
- References:
- Re: Forms Authentication - Active Directory
- From: Alexey Smirnov
- Re: Forms Authentication - Active Directory
- Prev by Date: Re: Forms Authentication - Active Directory
- Next by Date: Re: Forms Authentication - Active Directory
- Previous by thread: Re: Forms Authentication - Active Directory
- Next by thread: Re: Forms Authentication - Active Directory
- Index(es):
Relevant Pages
|
|