Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Security Scans of Documents Uploaded into CRM

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

  • RE: Security Scans of Documents Uploaded into CRM

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

  • Suggested answer
    ScottDurow Profile Picture
    ScottDurow 50,177 on at
    RE: Security Scans of Documents Uploaded into CRM

    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

  • Verified answer
    Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Security Scans of Documents Uploaded into CRM

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans