Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Password Protect Page Access

Go to End



Community Member, 545 Posts

18 September 2009 at 6:31am

I need to create a page that can only be accessed using a specific code (no user required) on the front end the access would also ask for a an e-mail address. Would the best way to go about it be creating a specific member group with one member and then a custom login form with a hidden user field and an e-mail field that writes to another DataObject? This seems overly complex, I was wondering if there is a more elegant solution.