Module: Work with website content

19 of 20 Pages

Secure access to pages

This page describes how to restrict access to pages on the live site. For restricting access to pages in the Xperience administration, see Page permission management.

Pages in the content tree can have their access privileges modified via the Membership access collapsible.

  1. Open a website channel application.

  2. Select a page in the content tree.

  3. Go to the Properties tab, Membership access collapsible.

    Page security tab

  4. Configure the page’s security settings.

    • Requires authentication – select this option to require visitors to sign in before they can view the page.

    • Membership roles – this field appears after you select Requires authentication. Select one or more member roles to restrict access to members with those roles.

      If you don’t select any roles, the page is accessible to all authenticated members. If you select one or more roles, only members with at least one of the selected roles can view the page.

      These settings require developers to implement Registration and authentication on your site. Developers must also reflect the setting when designing the site’s front end. For example, by displaying an icon next to links that lead to such pages and ensuring the site redirects unauthenticated visitors appropriately.

  5. Select Publish change.

    • If securing a page with subpages, a dialog prompts you to decide whether the changed settings should apply to all subpages as well. Both the authentication requirement and the selected roles propagate to child pages.

You have successfully changed the page’s security configuration. Secured pages display a diamond icon in the content tree.

When previewing pages in the Xperience administration, all secured content is visible regardless of role assignments. This allows administrators to review content without restriction.

Newly created pages inherit access privileges from their parent page.

Set up membership roles

Your site’s business logic typically creates and assigns membership roles automatically. Developers set this up during implementation. See Member roles for details about creating and managing roles.

For one-off adjustments, you can also manage roles manually in the Members application. Use the Member Roles tab to create roles and the Members tab to assign them.