web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Security Scans of Documents Uploaded into CRM

(0) ShareShare
ReportReport
Posted on by

Is it possible to run a malware/anti-virus scan on files uploaded into CRM as they are uploaded or on the database itself?

Any references or experiences you may have had would be great!  I haven't had much luck looking for a solution.

Thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi Lucas,

    I can think of one way to do it, but it would require some development effort.

    Since files are uploaded as attachments on notes or emails, create a plugin that scans before the note is created, and before it's updated (only if the documentbody changes - this means a new file was attached).

    Download an open source antivirus package like nClam (github.com/.../nClam). This package lets you interact with the antivirus through code and returns a result telling you if the file is infected or not.

    In your plugin, convert the document body to a byte[] and send it through nClam for processing. If the file is flagged as having a virus, throw an exception in the plugin. This will prevent the file from being saved and rollback the rest of the suspect transaction.

    Hope this helps! I'd appreciate if you would mark this as a Verified answer.

    Thanks,

     Aiden

  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Aiden - that sounds like a cool solution :)

    Another option would be to use SharePoint for your files (msdn.microsoft.com/.../gg334768.aspx)  and use an AntiVirus solution there www.harbar.net/.../Antivirus-and-SharePoint-2013.aspx

  • Lucas Blackburn Profile Picture
    on at

    I appreciate the helpful feedback.  We are working through what the best approach is for us.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans