Regarding asset/dam | Community
Skip to main content
hrishi2705
Level 2
Mar 2, 2022 1:16 PM UTC
Solved

Regarding asset/dam

If we uploading the HTML file or other files in Asset/Dam can it executed proper as  webpage anyone worked  on it, Please let me know if anyone know about this (process).

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
lukasz-m
lukasz-mAccepted solution
New Participant
Mar 2, 2022 2:06 PM UTC

Hi @hrishi2705, I think that technically this is possible. You will need to do some changes in:

  • com.day.cq.dam.core.impl.servlet.DamContentDispositionFilter
  • org.apache.sling.security.impl.ContentDispositionFilter

You can find all the details under:

https://stackoverflow.com/questions/42447453/is-there-a-way-to-upload-html-pages-into-aem-dam

But in general due to security reasons, this should not be considered as a proper approach to be used on production environments or for production sites/pages.

2 replies

lukasz-m
lukasz-mAccepted solution
New Participant
Mar 2, 2022 2:06 PM UTC

Hi @hrishi2705, I think that technically this is possible. You will need to do some changes in:

  • com.day.cq.dam.core.impl.servlet.DamContentDispositionFilter
  • org.apache.sling.security.impl.ContentDispositionFilter

You can find all the details under:

https://stackoverflow.com/questions/42447453/is-there-a-way-to-upload-html-pages-into-aem-dam

But in general due to security reasons, this should not be considered as a proper approach to be used on production environments or for production sites/pages.

Translate
DEBAL_DAS
New Participant
Mar 2, 2022 1:47 PM UTC

Could you please be specific regarding your use case here.

what is your expectation from assets  if we do comparison with webpage?

Translate