ASP.NET Menu and SiteMap Security Trimming (plus a trick for when your menu and security don't match up)

Posted by: JonGalloway.ToString(), on 27 Jan 2008 | View original | Bookmarked: 0 time(s)

Summary ASP.NET 2005 introduced a pretty solid menu which is integrated with a configuration driven sitemap. The cool part is that the menu can be hooked in with your security roles, so you don't have to worry about hiding or showing menu options based on the user - the menu options are automatically kept in sync with what the user is allowed to see. We'll talk about how to set this up, using an example from a website I worked on recently. If you're familiar with ASP.NET sitemaps and menus, skip...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2114 | Hits: 288

Similar Posts

  • Server Errors when updating live Web Applications online more
  • Simple Auto Update for WPF Apps, without the Updater Block more
  • Large file uploads in ASP.NET more
  • WhatWG, W3C and HTML 5.0 more
  • Why are you stuck on an old version of DotNetNuke? more
  • UpdateControls 1.2 - UpdateIndicatorPanel Control Addition more
  • ASP.NET AJAX Tips & Tricks more
  • Dynamic rendering of menu Control with rendercontrol more
  • Want to Customize your menus in Visual Studio 2005? Here's how... (Lisa Feigenbaum) more
  • UpdateControls 1.1: Bug Fixes and UpdateAction more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD