Expand my Community achievements bar.

SOLVED

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 Accepted Solution

Avatar

Correct answer by
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...

View solution in original post

4 Replies

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

Correct answer by
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...