Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

DAM Content Unsecure

Avatar

Level 3

In our application is based on authentication i.e. a user cannot login to our application till he/she logs in using credentials. But our dam content is getting accessible if it is cached in Dispatcher. Once a image is cached in dispatcher the call does not come to the publish where in sling authentication service I have enabled authentication for /content/dam. Could anyone please let me know how to block dam content till we have logged in. We are using AEM 6.1 SP2

Thanks,

Tushar

1 Accepted Solution

Avatar

Correct answer by
Level 3
        I achieved this by implementing permission sensitive caching. In dispatcher I gave the auth_checker and the path as content/dam

View solution in original post

3 Replies

Avatar

Level 10

Have you tried to block images from being cached so that the only way to access them is from a request made from an authenticated client. 

Avatar

Correct answer by
Level 3
        I achieved this by implementing permission sensitive caching. In dispatcher I gave the auth_checker and the path as content/dam