views:

244

answers:

4

I'm looking for an Antivirus package that is compliant with Windows Server 2008. That's not the hard part. What I need is an API layer on the Antivirus that i can call from managed .net code.

For example: I am developing an Asp.Net (C#) website that allows users to upload files to the web server which the web site resides on. We have full control of the server so there are no security/rights issues on the server. I need to be able to run the antivirus algorithm on the newly uploaded files without (hopefully) shelling out to a command-ilne version of the software.

Does anyone know of such a package?

+1  A: 

If files are saved on the server, most anti-virus suits will scan them immediately, and delete/quarantine the infected files. In that regard, by the time you run the command-line tool they were already scanned.

Kobi
Exactly. What I'm trying to avoid however is allowing the anti-virus suite that much control. I want to micro-manage the software via an API to only scan what I want, when I want as I host multiple websites from the same web server as well as being the website/server administrator rolled into one I know what needs to be scanned and what is a waste of server resources.
Dave Jellison
+3  A: 

I've used Symantec Scan engine (http://www.symantec.com/business/scan-engine) with some success calling from Java. It has an TCP/IP based API so it should be possible to use it with .NET.

Alohci
Thank you Alohci. This is exactly what I was looking for.
Dave Jellison
+1  A: 

If you take a look at MetaScan (Google it) it will hook into and provide an API for most virus scan packages. We use it to provide virus scan in our software package if the client has a virus software policy in place.

Craig
A: 

product is described at http://www.opswat.com/products/metascan

punahou1980