Skip to main content File Mime Validator
- This module performs a server-side validation for the extension.
- It works on the upload type file field used in any entity.
- It uses the PHP library 'fileinfo' and has a dependency on that.
- Having PHP lib we can perform a more secure and reliable check on the file's mime type and compare that to the allowed file extensions.
- It helps in site making malicious type uploads free for security purposes.
- Logs the upload if found malicious i.e if not of the type of extension which is being requested.