More in this section
Forums / Security / Manage role permissions through web.config

Manage role permissions through web.config

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Saumitra
    Saumitra avatar
    127 posts
    10 Mar 2009
    10 May 2010
    Link to this post

    I've developed a web site using Sitefinity 3.7 Standard Edition, SP3. I've a requirement over there that a page group needs to be accessed only by a particular role that we've created through Sitefinity administration module and be unavailable to the rest of the roles. I tried achieving the same through the web.config as follows:
    <location path="Member-Area-Paid" allowOverride="false">
            <deny users="?"/>
            <deny roles="Basic Users"/>
            <allow roles="Paid Users"/>

    The users that would be a part of these roles would be the users registering on the front-end web site.

    But it does not work as expected. Can you please help me figure out what is missing ?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    10 May 2010
    Link to this post
    Hi Saumitra,

    You should use the page permissions to define which roles should have access.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered