病毒扫描文件Asp.net MVC文件上传 [英] Virus scanning a document Asp.net MVC file upload

查看:77
本文介绍了病毒扫描文件Asp.net MVC文件上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们有Asp.Net MVC应用程序,其中视图包含文件上载控件.将文件上传到服务器时,需要使用控制器操作方法扫描内存中的文档(HttpPostedFile),并且如果在服务器上发现任何病毒内容,也不要将文档上传到服务器.

我们有什么办法吗? (我不喜欢使用为Mcafee等调用命令行的方法,)

我们有进行病毒扫描的病毒代理服务器,并且不希望在将文件下载到服务器并且AV隔离文件后读取报告.

解决方案的主要目的是,如果有病毒内容,则根本不将文件下载到服务器上.如果有人遇到过这样的事情,请提供想法.

谢谢,

Hi,

We have Asp.Net MVC application, where view contains a file upload control. When we upload a file to the server, on the controller action method we need to scan the document in memory (HttpPostedFile), and do not upload the document to the server if there is any virus content found on the server.

Do we have any way of doing this? (I don''t like to go with approaches calling a command line for for Mcafee etc, )

We have virus proxy server which does the virus scanning, and don''t want to read the report after downloading the file to the server and AV quarantines the file.

The solution main aim is to not download the file at all on to the server machine if there is a virus content. Can someone please provide thoughts if they have come across anything like this.

Thanks,

推荐答案

我的建议是,看看他们是否有开源api
My suggestion that you see if they have an Open Source api


这篇关于病毒扫描文件Asp.net MVC文件上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆