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

Forums / Developing with Sitefinity / Page access only after signing in through a form

Page access only after signing in through a form

4 posts, 0 answered
  1. Jeffrey Reitzes
    Jeffrey Reitzes avatar
    4 posts
    Registered:
    13 May 2010
    21 Jun 2010
    Link to this post
    I have a page designed in sitefinity that is there but not displayed in the nav.  How do I grant access to the page only after someone signs in through a form on the page?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    21 Jun 2010
    Link to this post
    Hello Jeffrey Reitzes,

    Each page has permissions tab from where you could grant/deny page permissions to a given role. Under Page Properties you should set  "Anonymous access" to Deny. By doing so, all not authenticated users will not be able to access this page and they will be redirected to your login form. After a user has been authenticated his role and permissions are checked. If this user has "View" he/she will be able to see the page, otherwise 403 error is thrown.

    Greetings,
    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
  3. Jeffrey Reitzes
    Jeffrey Reitzes avatar
    4 posts
    Registered:
    13 May 2010
    21 Jun 2010
    Link to this post
    So i should make the page "show in navigation" but just make sure authentication is required?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    21 Jun 2010
    Link to this post
    Hello Jeffrey Reitzes,

    Yes, show the page in the navigation and set the properties suggested in the previous reply to you.

    Best wishes,
    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
Register for webinar
4 posts, 0 answered