Authorization and Profile Application Block - This block is a reusable code component that builds on the capabilities of the Microsoft .NET Framework to help you perform authorization and access profile information.
Implementing Role Based Security for User Interface - This sample demonstrates how you can extend Web.UI.Page to implement role based security for the controls in an aspx page. Control settings are stored in a SQL Server database for a particular user/role. Settings are retrieved from the database and cached for a particular interval based on web.config settings.
Quick and easy user-level security checks / Quick and easy user-level security checks - Part 2 This article presents a library that enables a programmer to store and retrieve security credentials from a back-end database. The classes in the library also extend the .NET role-based authorization mechanism by introducing the concept of a "right". A right is a low level security element that can be assigned to a role or an individual user. The library includes a specialized principal class that allows these rights to be verified in much the same way that roles are today through the standard .NET security classes. The library will work with any compatible .NET language, and may be used in thin-client (ASP.NET) or thick-client environments. The library also exports a simple interface for managing users, roles, and rights. The database code is logically isolated from the rest of the library, so adapting things to work with other databases is very straightforward.