Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Regarding asset/dam

Avatar

Level 2

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).

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

2 Replies

Avatar

Employee Advisor

Could you please be specific regarding your use case here.

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

Avatar

Correct answer by
Community Advisor

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.