control-level security in ASP.NET
Posted on 2011-03-25
i want to make a page and more than a user can access the same page.
but each user can see the controls on the page depending on its rule.
user of rule "admin" can see the button "add user", "delete user" and "help"
while the user of rule "member" can see only the buttons "help"
so the page i want to build will have 3 buttons but each user will only see what he is supposed to see only.
any suggestions of the best mechanism to implement such a security??
thanks in advance :)