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,