More in this section

Forums / General Discussions / Hiding the link to a page

Hiding the link to a page

2 posts, 0 answered
  1. Julia Shah
    Julia Shah avatar
    13 posts
    03 Sep 2012
    17 Jul 2007
    Link to this post

    I have created a page and specified:
  2. Slavo
    Slavo avatar
    295 posts
    24 Sep 2012
    18 Jul 2007
    Link to this post
    Hello Julia Shah,

    If you want to hide pages with Anonymous Access set to deny from the navigation, you should set the seurityTrimmingEnabled property of the Sitemap provider to true. Then the provider will not return any pages that the user has no permission to view. Note that this is the same mechanism as in standard ASP.NET. Make the following changes to the web.config:

    <siteMap defaultProvider="CmsSiteMapProvider" enabled="true"
            <add name="CmsSiteMapProvider" description="Displays Cms Pages" type="Telerik.Cms.Web.CmsSiteMapProvider" securityTrimmingEnabled="true"/> 

    Best wishes,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered