Click here to Skip to main content
15,038,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys, I have a requirement in my Project.

I have no idea in Role base Security .

Please any one help me.
Posted

1 solution

Hi,
A simple role based access would be like,

1.Each user would be assigned with some roles.At the time of login, we fetch the roles for that user from sql (say).
2.Based on that role,we need to enable/disable few functionalities for that page.

Few links to get you started with.

Role-based Security with Forms Authentication[^]
RoleBasesAccessUsingCSharpandXML[^]
Introduction-to-RoleBased-Security-in-NET[^]

Hope this gives you a idea.
   
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900