+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Can I use the Sitefinity Membership Provider for aspx pages that are included in my Sitefinity application

Can I use the Sitefinity Membership Provider for aspx pages that are included in my Sitefinity application

2 posts, 0 answered
  1. Dave
    Dave avatar
    29 posts
    Registered:
    27 Aug 2010
    10 Dec 2015
    Link to this post

    I would like to be able to add aspx pages to my sitefinity project and secure the pages using the Sitefinity Membership provider.  Specifically I will need to set the security level of pages in specific folders by adding allow and deny elements to the web.config.

    <authorization>
        <allow roles="Admin, Customers"/>
        <deny users="*"/>
    </authorization>

     

    Is this possible out of the box? If not can you suggest an approach that might achieve the same/similar affect? Converting the pages to user controls/widgets or even masterpages is not an option. I need to apply security to aspx pages.

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    02 Dec 2016
    15 Dec 2015
    Link to this post
    Hi Dave,

    Can you please refer to the below KB article and try the suggestion there:

    http://www.sitefinity.com/developer-network/knowledge-base/details/how-to-protect-static-pages-to-be-accessed-only-by-users-in-particular-role

    Regards,
    Sabrie Nedzhip
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered