• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2049
  • 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

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

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