Jump to:

10977 Posts in 2720 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » Password protecting pages

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1803 Views
  • bones
    Avatar
    Community Member
    104 Posts

    Password protecting pages Link to this post

    Is there any way to force a visitor to enter a username and password before they can view the content of certain pages? This isn't anything to do with the CMS- one of my clients wants to create a "staff only" area.

    Thanks

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Password protecting pages Link to this post

    yes, this is something that can be done,

    in the admin area, go to your page which you need to protect, then on the access tab, select the user group.

    thats it.

  • bones
    Avatar
    Community Member
    104 Posts

    Re: Password protecting pages Link to this post

    Oh.. dead easy! How I love Silverstripe.

    Thanks for your help

  • Netmaster
    Avatar
    Community Member
    2 Posts

    Re: Password protecting pages Link to this post

    I have a follow up question regarding this. I see that once you password protect a page, then that page doesn't appear on the site at all. Is it possible to actually show the page (as a list or menu item) but assign it an icon (perhaps a padlock) that shows that the page will require a login in order to access?

    Alternatively, how do you request that the visitor logs in? Is there a pre-defined Silverstripe page that is already built to permit internal users to submit their credentials thereby permitting access to pages that they're allowed to read. From what I can see, the only password page that Silverstripe has is the main admin page?

    1803 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.