Exclude file type in DAM
Hello,
For security reasons, we don't want to let an author upload some file types (.exe, .js for example)
How can we do that in AEM ?
Thansk a lot
Hello,
For security reasons, we don't want to let an author upload some file types (.exe, .js for example)
How can we do that in AEM ?
Thansk a lot
I don't know whether there is any OOTB configuration to limit the file types. But there is a community article for restricting the upload based on size of the file - http://experience-aem.blogspot.com/2014/12/aem-6-sp1-classic-ui-restrict-large-or-small-files-upload.html. You can customize it and add your logic of checking the file types. You can either just check the file extensions in the javascript or invoke a backend servlet to check the file headers for the mime types. Also, this is limited to Classic UI only.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.