Click here to Skip to main content
15,914,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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,
Posted

1 solution

My suggestion that you see if they have an Open Source api
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900