This is a migrated thread and some comments may be shown as answers.

Security trimming in ASP.NET MVC

3 Answers 187 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 20 Aug 2009, 01:33 PM
Hi,

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

Thanks,
Nick

3 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 20 Aug 2009, 01:37 PM
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.
0
Nick
Top achievements
Rank 1
answered on 20 Aug 2009, 02:01 PM
Hmm, so I need a sitemap provider for ASP.NET MVC then?

Has anyone out there done this at all?

Cheers,
Nick

0
Paul
Telerik team
answered on 20 Aug 2009, 02:31 PM
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.
Tags
Menu
Asked by
Nick
Top achievements
Rank 1
Answers by
Paul
Telerik team
Nick
Top achievements
Rank 1
Share this question
or