AEM 6.1 : DAM - Prevent adding of some asset format
Hi,
Is there anyway to prevent assets which match a format to be added in the DAM on AEM 6.1?
For example, can I say that no one can put videos in the DAM ?
Thanks,
Grégory
Hi,
Is there anyway to prevent assets which match a format to be added in the DAM on AEM 6.1?
For example, can I say that no one can put videos in the DAM ?
Thanks,
Grégory
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.