For Security requirements, i have a requirement to implement checks on 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 txt file with modified extension
Thank you @BradTainter sure the link is helpful, but i wanted to implement the check always on CallVirusCheck Activity, Is there a way to check the header from Data-WorkAttach-File Page? maybe with pyAttachStream property?