Author: Chandraprakash | Posted on: 10/27/2010 8:24:58 AM | Views : 225

Hi,
 
We are building a ASP.NET application that has roles based security. We have several user roles, and the roles defines what a user can do in the application.
Since this is a real application, the required security and granularity of what a user can do, extends beyond simply allowing or denying access to a page.
 A user in a certain role might be able to see/not see edit/read-only individual elements on a page.
 We have a couple of ideas on how to custom build a framework for this but we are sure someone has done this before us.
 So, does anyone know of a framework or an implementation of the security I am describing above?
 
like below code :
I am looking for something like:
*Pseudocode warning*
 
Public class MyPage {
Page_Load(object sender, EventArgs e) // all classes
{
   ApplySecurity();
}
Public v ...

Go to the complete details ...