Is there a virus scanner for Java? I am doing some file I/O and need to scan it. Ideally, a class that takes a ByteStream, InputStream, File, or whatever, and does the scan in my code before I write it to disk. (Actually store it in Alfresco)
Unfortunately the hard part of virus-scanning is figuring out what viruses to scan for, and how to scan for them. If you want to do a good job of that (forgetting about Java for the moment) then the best way is to use the virus-scanning tools provided by some commercial anti-virus company.
So if you accept that and decide to go that route, your question now becomes "Is there a Java interface for using Company X's anti-virus tools to scan a stream of bytes?" Except that there are several Companies X you might ask about. So now you have a research project which involves producing a list of suitable Companies X and trying to find out what interfaces they support.
Joined: Dec 15, 2009
I agree. And after yesterdays attack, it has gone to the top of the list. So I have a budget. Im just wondering if someone out there has already done the research and can tell me who company X is.
Well, Symantec and McAfee for example are names of well-known companies that sell anti-virus software. I'm sure there are more. Lookup their websites, see if you can find any info there, send them a message to ask if they support what you're looking for.