We have developed an application with contain file upload functionality. We use that application for internal purpose only. We use core php language.
We already use the below validations:
File extension checks (allow only CSV, txt, SQL).
File size checks (allow only 50 MB). We allow bulk upload as well.
We are planing to check the file content as well for malicious file upload. How do we do that?