Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

AEM Assets Upload: Is it using magic numbers filtering in order to validate only true type of files upload?

Avatar

Level 3

Hi Team,

Like the question in the title, for AEM Assets uploading, Is it using magic numbers filtering in order to validate only true type of files upload, please?

Thanks.

1 Solução aceita

Avatar

Resposta correta de
Level 3
4 Respostas

Avatar

Employee Advisor

@HuiDeShao Please elaborate on your query.

Avatar

Level 3

@krati_garg  Thanks for helping here. Actually, I just got this question from LeanIX reviewers. >.<

"
on AEM:Assets are stored in the DAM. e.g., .pdf, .docx, .doc, .xls, .jpg, .png 1. Please verify to use magic numbers filtering in order to validate only true type of files upload
"

Avatar

Community Advisor

Question is not clear. Do you have requirements to filter the file type while doing the upload?

Avatar

Resposta correta de
Level 3

FYI, I got the answer from Adobe Ticket Support. MagicNumberFileFilter is indeed used.

https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/index.html?org/apache...