Thanks for the reply Ujwal. I have already added the logic in CallVirusCheck activity to allow only certain valid file types but our requirement is to check if a jpeg file for example is malicious and prevent it from attaching to a case.
Hi I have already used the CallVirusCheck activity to allow only certain file types. But the issue is when users trying to upload a jpeg file that is malicious. We need to run some antivirus check on the files being attached and prevent attaching if the file is malicious. So the question comes to how we can know if a file being uploaded is malicious and prevent it from attaching to the work object?
Using the CallVirusCheck activity is the recommended solution. You will probably need to implement some custom Java code to call you virus scanner of choice. If the Pegasystems employee associated with this issue would like to discuss this in more detail then they should feel free to ping me.