Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

How to show hide menu items in sitemap file

I have a table called users which has a column called roles , and it holds various values such as Admin, User, SuperUser.

Based on this value I need to hide show pages for a given type of user.

How can I do that?
0
countrymeister
Asked:
countrymeister
1 Solution
 
Swapnil PipariaArchitectCommented:
Hi  countrymeister,

      What you need is called "Role based security". Please find below links in order of preference for implementation details and steps.

1. http://support.microsoft.com/kb/311495

2. http://www.theobjectguy.com/RoleBasedSecurity/

Thanks and Regards,
Swapnil
0
 
countrymeisterAuthor Commented:
I had already defined roles in my app, so goign with a asp.nets role based security was not an option.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now