Reputation: 158
I want to implement the Role Base Access Control in asp.net application. Is there any predefine thing for it.
What I want, I have different form with different permission and users have different access to different form. For example User1 has select and edit access to A form but User2 has only select access to A form. In my application I want to set the dynamic permission to the users.
Please help me out. I do not know how to implement the RBAC in asp.net.
If you provide me some sample code then it would be helpful for me.
Upvotes: 0
Views: 567
Reputation: 3637
You can find a nice RBAC design in BlogEngine.NET's source code. notice it's membership and role provider, also the Right class and the Security class.
http://blogengine.codeplex.com/
Upvotes: 0
Reputation: 1038720
You may take a look at the Membership and Role providers.
Upvotes: 2