Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We need the entire site to require authentication, users must login. Except for a handful of utility pages that must remain available for anonymous users, such as robots.txt, the page not found and the login and access denied pages. The standard public access permissions apply to the root on down. There is no way to exclude or override public access.
Do we put those pages outside the root? Do we flip things on its head and make the home page a login and then lock down pages underneath?
I can suggest one more approach that can ensure your current workflow can work fine.
In your case, you can have a defaultController that renders all the pages to use MemberAuthorizeAttribute. This will restrict all the pages to be authenticated or redirect to login page.
For Login, robot, Register, page not found, etc pages you can use their own controller without MemberAuthorizeAttribute. This will make these pages annonymous.
How to setup Default Controller?
Umbraco Code for MemberAuthorizeAttribute
Hope that helps.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted