Security trimming in ASP.NET MVC

4 posts, 0 answers
  1. Nick
    Nick avatar
    86 posts
    Member since:
    Mar 2008

    Posted 20 Aug 2009 Link to this post

    Hi,

    Is it possible to apply security trimming to the RadMenu in ASP.NET MVC?

    Thanks,
    Nick

  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 20 Aug 2009 Link to this post

    Hi Nick,

    Problems with security trimming can be easily tracked down by using a built-in control along with ours (e.g. asp:Menu or asp:TreeView). If they behave in the same way then the problem is somewhere in your implementation.

    On aside note, security trimming is a feature of the site map provider - it should not be related with the control which is databound.

    You can find more information in Google or read the following MSDN article. Also Scott Mitchell wrote a nice tutorial with source code.
    http://aspnet.4guysfromrolla.com/articles/122805-1.aspx
    http://msdn2.microsoft.com/en-us/library/ms178428(VS.80).aspx

    Our navigation controls mimic the default ASP.NET menu in terms of sitemap support.

    Kind regards,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Nick
    Nick avatar
    86 posts
    Member since:
    Mar 2008

    Posted 20 Aug 2009 Link to this post

    Hmm, so I need a sitemap provider for ASP.NET MVC then?

    Has anyone out there done this at all?

    Cheers,
    Nick

  5. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 20 Aug 2009 Link to this post

    Hi Nick,

    You can check these links on the matter:

    http://mvcsitemap.codeplex.com/
    Building an ASP.NET MVC sitemap provider with security trimming
    ASP.NET MVC SiteMap

    All the best,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top