Use Microsoft AntiVirus API for File Upload Scanning

自作多情 提交于 2020-01-02 10:30:11

问题


Has anyone here used Microsoft Anti-Virus API to scan file uploads using any anti-virus ? What is your experience. I want to use mcafee, trend or other well known AV to be called programatically.


回答1:


It seems that Microsoft AntiVirus API is not suitable for scanning uploaded files. From http://msdn.microsoft.com/en-us/library/ms537371(VS.85).aspx

The Antivirus API enables software vendors to develop applications that scan Microsoft Office 2000 documents before opening them. The API also supports scanning Microsoft Internet Explorer 5 code downloads, such as Microsoft ActiveX Controls or installs. However, be aware that the Windows Internet Explorer scanning support applies only to automatic code downloads and not to file downloads or HTML documents. The primary purpose of this API is to give an independent software vendor (ISV) the ability to design and implement scanning software that can be used by all applications.

HTH.




回答2:


You should either invest money into a malware filtering appliance (using something like ICAP or a proprietary protocol) that will scan all inbound traffic for virus/malware even before it hits your app. Here are some examples:

http://www.barracudanetworks.com/ns/products/spam_overview.php

Another route is to do API level integration with a SaaS provider such as scanii.com



来源:https://stackoverflow.com/questions/1781260/use-microsoft-antivirus-api-for-file-upload-scanning

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!