Announcements
I've seen several rather old threads related to the subject, anti-virus scanning attachments, most say you need to come up with a DIY solution to pre-scan attachments before they're loaded into crm. That's kind of a problem when you have direct mailbox links set up. Is there any updates on the capabilities for scanning attachments?
Hi,
There is no supported/ standard way to achieve this in CRM. You can go for the above mentioned workaround if required.
Hope this helps.
Hi randalls2ndhalf,
This is a potential solution to your problem.
Since files are uploaded as attachments on notes or emails, you could create a Plug-in that scans the file before the note is created, and when a file is attached to an email and the documentbody changes.
If you decide to take this approach, you will need to include an open-source virus scanner like nClam in your Plug-in. nClam allows you to scan files for viruses with a ClamAV server using a simple API and return a result telling you if the file is infected or not. In your Plug-in, convert the document body to a byte[] and send it to the ClamAV server for processing. If the file is flagged as having a virus, throw a InvalidPluginExecutionException in the Plug-in. This will prevent the file from saving and rollback the suspect transaction.
André Arnaud de Cal...
294,110
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator