开发者

How to scan files during uploads with the use of FileUpload asp.net server control

开发者 https://www.devze.com 2023-02-10 03:18 出处:网络
In continuation to my previous research at this link : Security Risks or concerns with the use of FileUpload control of asp.net - and suggested solutions

In continuation to my previous research at this link : Security Risks or concerns with the use of FileUpload control of asp.net - and suggested solutions

I need to know how to Scan files during upload, also how to intimate user if file is virus affected and abort the operation.

开发者_如何学编程

Any answer for this highly appreciable.

Thanks in advance!

Edited - In addition to above, we have McAfee Antivirus installed on our servers. I heard that there is some APIS for this work for Symantac Antivirus but I am not sure about McAfee antivirus.


I need to know how to Scan files during upload, also how to intimate user if file is virus affected and abort the operation.

You mean a virus scan while a file is being uploaded from the client? This is hardly possible using standard tools.

Scan the file after it has been uploaded; delete the file and show the user a reject message if anything malicious was found.

0

精彩评论

暂无评论...
验证码 换一张
取 消