Role Authorization
In ASP.NET 2.0, role
authorization has been simplified. You no longer need to retrieve role
information when the user is authenticated or add role details to the
authentication cookie. The .NET Framework 2.0 includes a role management
API that enables you to create and delete roles, and add users to and remove
users from roles. The role management API stores its data in an underlying data
store that it accesses through an appropriate role provider for that data
store. The following role providers are included with the .NET
Framework 2.0 and can be used with forms authentication:
·
SQL
Server. This is the
default provider and it stores role information in a SQL Server database.
·
Authorization
Manager (AzMan).
This provider 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 are used for authentication.
For more information about using the
role management API, see How To: Use Role
Manager in ASP.NET 2.0.
No comments:
Post a Comment