Regarding asset/dam | Community
Skip to main content
hrishi2705
Level 2
March 2, 2022
Solved

Regarding asset/dam

  • March 2, 2022
  • 2 replies
  • 822 views

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.
Best answer by lukasz-m

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

DEBAL_DAS
March 2, 2022

Could you please be specific regarding your use case here.

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

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
March 2, 2022

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.