Restrict AEM DAM folder on publisher to unauthorized users
We'd like to restrict an AEM DAM folder on our publisher instance to prevent users not logged-in from getting access to content. We've set up allow access for the logged in roles and deny for the anonymous role. However we get the following error message on the publisher after making the changes: 01.02.2024 13:11:45.124 *INFO* [qtp853971411-3345] org.apache.sling.auth.core.impl.SlingAuthenticator handleLoginFailure: Unable to authenticate anonymous user: Not a user anonymous
Code in YAML (AC Tool)
- anonymous:
- path: /content/dam/locked-content/
permission: deny
privileges: jcr:all