Posted: 26 Mar 2021 2:25 EDT Last activity: 27 Mar 2021 21:28 EDT
How to verify the MimeType of attached PDF file
For Security requirements, I have a requirement to implement checks on the file attached.
I've already extended activity CallVirusCheck to verify the file extension, but how can I test if the extension corresponds to the real file format?
ex: pdf extension is a real pdf file and not a text file with modified extension