In AEM 6.2, we have the following configuration Apache Sling Content Disposition Filter (org.apache.sling.security.impl.ContentDispositionFilter). Is there any side effects of unchecking the option "Enable Content Disposition for all paths".
I have unchecked it to prevent the dam assets like PDF from being downloaded automatically. Is it possible to restrict this only for PDF files irrespective of paths.
Solved! Go to Solution.
Response from team:
Views
Replies
Total Likes
I will check internally for this question... There are no docs so hard to really know.
You can also post to the Sling board too: http://apache-sling.73963.n3.nabble.com/Sling-Dev-f73966.html
Response from team:
Views
Replies
Total Likes
Thanks Scott.
For requests via apache, this is happening correctly for PDF files. The problem happens only while being invoked directly from AEM instance.
Paul
I disabled Content Disposition filter for all paths. It worked fine for all the image other than .svg images. They are still getting downloaded. Any thoughts on it?
I am also facing same issue with videos , all format of images and pdfs.Could you please tell me how you resolved this issue .Please share the configuration settings screenshots.
I have unchecked "Enable For All Resource Paths" but no use .Please help me with this issue.
Hey team, there's a typo in this doc Adobe Experience Manager Help | Content Disposition Filter - it says PFD instead of PDF - please have this updated.
So, from 6.4 all assets including PDF gets downloaded, unless otherwise the filter is disabled or exceptions are added.
KrishnaGunturu you will have to remove 'image/svg+xml' entry from DAM Safe Binary filter in Felix Console.
Hi here, i'm using this configuration
and it seems to work, i mean, I've deactivated the filter for all paths, but I have added a rule to validate everything in content except pdfs
what do you think? should i add more paths on Included Resource Paths, as for example, /etc, /libs, /apps etc