Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
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