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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans