RE: ActiveDirectory and user page Access
- From: hongyes@xxxxxxxxxxxxxxxxxxxx ("Hongye Sun [MSFT]")
- Date: Tue, 02 Dec 2008 12:16:01 GMT
Hi Alex,
Thanks for your replies.
ASP.net has three role management providers:
1. SqlRoleProvider
2. WindowsTokenRoleProvider
3. AuthorizationStoreRoleProvider
You questions have covered two of them: WindowsTokenRoleProvider and
AuthorizationStoreRoleProvider. Here is their detail explanations:
WindowsTokenRoleProvider:
This is a read-only provider that retrieves role information for a Windows
user account based on the account's Windows security group membership. You
cannot create, add to, or delete roles with this provider.
http://msdn.microsoft.com/en-us/library/system.web.security.windowstokenrole
provider.aspx
AuthorizationStoreRoleProvider: (The one you mentioned in your link)
This is used if your application uses Authorization Manager (AzMan). It
uses an AzMan policy store in an XML file, in Active Directory, or in
Active Directory Application Mode (ADAM) as its role store. It is typically
used in an intranet or extranet scenario where Windows authentication and
Active Directory is used for authentication.
http://msdn.microsoft.com/en-us/library/system.web.security.authorizationsto
reroleprovider.aspx
In my opinion, WindowsTokenRoleProvider has a big limitation that it is
read-only and you cannot add or modify roles. It actually uses AD user
group as role.
AuthorizationStoreRoleProvider is required to install additional components
and its benefit is group operations into tasks and assign tasks to
different roles.
SqlRoleProvider is the most commonly used role provider, and it can work
together with both SQL and AD membership provider.
To choose one which most meets your business requirement. Can you tell us
your business scenario so that we can provide you suggestions on that.
Another one is Web site admin tool. This tool uses the membership provider
and role manager provider in web.config file. That is to say, there is no
restriction that you must use SQL membership provider. You can also use AD
membership provider, however, like WindowsTokenRoleProvider, it is
read-only and you cannot add or modify users. You can only add or modify AD
user from outside.
In order to figure out your requirement, can you provide following three
questions to us?
1. What authentication method you are using? Form or Windows?
2. Where the users and roles come from? AD or user defined.
3. What operations you want to control by role?
Anything unclear please let us know. Have a nice day.
Regards,
Hongye Sun (hongyes@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- RE: ActiveDirectory and user page Access
- From: Alex. O. Koranteng
- RE: ActiveDirectory and user page Access
- References:
- RE: ActiveDirectory and user page Access
- From: "Hongye Sun [MSFT]"
- RE: ActiveDirectory and user page Access
- From: Alex. O. Koranteng
- RE: ActiveDirectory and user page Access
- Prev by Date: Print a single (existing) PDF page
- Next by Date: RE: ActiveDirectory and user page Access
- Previous by thread: RE: ActiveDirectory and user page Access
- Next by thread: RE: ActiveDirectory and user page Access
- Index(es):
Relevant Pages
|