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

Forums / General Discussions / Adding page permission user

Adding page permission user

4 posts, 0 answered
  1. Grant
    Grant avatar
    13 posts
    Registered:
    24 Jan 2008
    17 Mar 2008
    Link to this post
    I'm trying to make a section password protected.  Do I have to make each page individually password protected by setting the Anonymous access to deny or can I setup an entire section so as I add pages they inherit the password protected permissions from the parent group.
    Thanks
  2. Nikifor
    Nikifor avatar
    232 posts
    Registered:
    18 May 2013
    18 Mar 2008
    Link to this post
    Hello Grant,

    Sitefinity does all user management through membership providers, the same model used after ASP.NET 2.0. Depending on your needs, you can create your own membership provider or use the one that comes with Sitefinity. Our provider keeps user information in the project's database. If you want to separate the information, you can build your own provider. Then, when creating your project, just set the DenyAnonymous property for all pages to true, and Sitefinity will require users to login before they can view any content.

    Since version 3.1, there are
    login controls in the toolbox that let public users log in. You can put such a control on your homepage and redirect users after login.

    A good example of the implementation can be found in our TIU site, which is part of every Sitefinity installation.

    I hope that the provided information is helpful. Please do not hesitate to contact us if you have any further questions.


    Regards,
    Nikifor Hristov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Grant
    Grant avatar
    13 posts
    Registered:
    24 Jan 2008
    18 Mar 2008
    Link to this post
    Can you create multiple sections where a login can only view certain pages on the site?  I have two user groups and want to separate the access that they have so they only see their content.  Thanks
  4. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    21 Mar 2008
    Link to this post
    Hi Grant,

    Yes, you can easily make different pages visible for different roles (user groups). All you have to do is set the "anonymous access" page property to "deny" and set the View permission to "allow" and "deny" for your roles. For more information how to achieve this, please refer to the User Manual => Permissions => Page Permissions.

    About your first question, in Sitefinity 3.1 you had to manually iterate through all the pages and set anonymous access, however in the new Sitefinity 3.2 we decided it is more reasonable this property to be inherited. So now you only need to set this property for one page and all its child pages inherit it.

    Best wishes,
    Yasen Kiprov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
4 posts, 0 answered