Hi Friends,
I am trying to implement the Permission base access control in asp.net to implement this I have created some database table which holds all the information about which role assign what permission and which role assign to user.
I am checking the permission on the Business access layer. Right now I have created a method which checks the permission of the user. If user has permission then okay otherwise it redirect to a page.
I want to know is the following things are possible?
class User
{
[PremissionCheck(UserID,ObjectName,OperationName)]
public DataTable GetUser()
{
//coding for user
}
}
I have seen it in MVC3. Can I Create it in ASP.NET. If yes then how can I implement it?
Please help me out.
Thanks
jelly
...
Go to the complete details ...