• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2015
  • Last Modified:

server side virus scanning of file while uploading in .net?

Hello Team,

I have to use virus scanning of file while uploading on server side, please let me know with which anti-virus search engine it is easy to implement & how in .Net technology?

Ankur shrivastava
1 Solution
btanExec ConsultantCommented:
Likely the case you need API calls to online virus services or SDK with AV commandline incorporated. The api interface will mostly be RESTFUL based or web services based. But most of the time, it may not be the whole payload and simply the hash of the file is a quicker option..

Some area to look at are

a) VT - https://www.virustotal.com/en/documentation/public-api/#scanning-files
(Script include .NET @ https://www.virustotal.com/en/documentation/public-api/#scripts-interact)

b) Shadowserver (more of whitelisting though) - http://bin-test.shadowserver.org/

c) ClamAv (use of C# from Clamson) - http://www.clamav.net/lang/en/download/third-party-tools/3rdparty-library/

d) Metascan (multi-AV scanner) api (client, ICAP or online) (Commerical) -
(overall use cases) http://www.opswat.com/products/metascan/use-cases
(client-server) http://www.opswat.com/products/metascan/client
(online) https://www.metascan-online.com/en/public-api#scanning-a-file
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now