The majority of web applications require some form of user authentication and authorization. This can range from simply restricting part of an application to members only, through to sophisticated management of content according to the type of user. One of the most useful features of ASP.NET is the integration of a generic user authentication and authorization framework that can be molded to the requirements of most applications. The framework makes it simple to incorporate authentication, and control access to content, based on the roles of users. This article demonstrates the creation of security principal and identity objects for use in form-based authentication using a custom data source, and implementation of role-based authorization to restrict content to users that are members of a specified role. This article assumes the reader has basic knowledge of XML, C#, the .NET framework and ASP.NET development.
ASP.NET
http://www.amazon.com/exec/obidos/ASIN/B00006H59L/bigwebmasters-20
http://www.bigwebmaster.com/screenshots/B00006H59L.jpg
June 28, 2002
$8.00
$8.00
13
e-book (Acrobat Reader)
B00006H59L
Wrox
Terry Mitchell
asp.net authentication, asp.net authorization, asp.net restriction, asp.net members only, asp.net user, asp.net framework, asp.net control access, asp.net security principal, asp.net identity objects, asp.net article, asp.net knowledge
Custom Role Based Authorization
The majority of web applications require some form of user authentication and authorization. This can range from simply restricting part of an application to members only, through to sophisticated management of content according to the type of user. One of the most useful features of ASP.NET is the integration of a generic user authentication and authorization framework that can be molded to the requirements of most applications. The framework makes it simple to incorporate authentication, and control access to content, based on the roles of users. This article demonstrates the creation of security principal and identity objects for use in form-based authentication using a custom data source, and implementation of role-based authorization to restrict content to users that are members of a specified role. This article assumes the reader has basic knowledge of XML, C#, the .NET framework and ASP.NET development.
1
6.00
6
6
| Rating | Vote % | # of Votes |
|---|---|---|
| 10 | 0% | 0 |
| 9 | 0% | 0 |
| 8 | 0% | 0 |
| 7 | 0% | 0 |
| 6 | 100% | 1 |
| 5 | 0% | 0 |
| 4 | 0% | 0 |
| 3 | 0% | 0 |
| 2 | 0% | 0 |
| 1 | 0% | 0 |
Want to increase the number of votes and resource rating for this listing?
Place a ASP.NET Vote Box on your website.