Tag Archives: ASP.NET
hideme

ASP.NET: Hide Menu Items by Role with Security Trimming

ASP.NET makes authorizations and security fairly simple with its roleManager, Authentication, and SiteMap providers.  This quick hint only covers how to hide a particular menu item from the standard Menu and TreeList navigation components when using a SiteMap provider. Web.config Settings for Role-based Menu Security 1) When you declare your sitemap provider, turn sucrityTrimmingEnabled to [...]

Read full story Comments { 1 }