Scan Uploaded File For Virus Or Malware In Asp.Net Mvc

757 Views Asked by At

I am looking for a solution where I want to scan uploaded files for any virus threat. To achieve this I am thinking of below approach.

  1. Upload the files to a specific temporary location in the server.
  2. Run virus scan using CLI and based the result If the file is clean I will move the file to it's permanent location

All this will happen using AJAX request instead of full submission.

I am looking for any Virus Scan service which is compatible with Asp.Net Mvc. After doing a google search I came across some of the services but what I learned I need to post the uploaded files to their servers for complete the scan but that is something I don't want. I am thinning of now to use the installed AV from the server only

If anybody has achieved this kind of requirement previously requesting your suggestions on this

0

There are 0 best solutions below