This project is read-only.

Content Item protection at layer with reddirection

Topics: Core, Customizing Orchard, General, Troubleshooting
Dec 2, 2013 at 6:43 PM
Hello! I am in need of some help.

We have a pretty complex site that runs heavily on layers. We would like to secure the whole site from anonymous EXCEPT for certain layers, and have anonymous users be redirected to the logon screens if not in one of those allowed layers.

In other words, i cant just use the "not authorized" rule because there will be exceptions. Also, i do not want to use "not authorized AND not url ('')"

here is an example:
  • All layers set to "Authorized" and anonymous users get redirected to logon screen
  • Certain layers grant access to Anonymous users therefore bypassing the above scenario
I thought that the Content Permissions module would allow for this with no luck.

Thanks for your help!