| Author |
Java Virus Scanner
|
Michael MacEachran
Greenhorn
Joined: Dec 15, 2009
Posts: 11
|
|
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)
Thank you,
Michael
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
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.
|
 |
Michael MacEachran
Greenhorn
Joined: Dec 15, 2009
Posts: 11
|
|
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.
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12928
|
|
|
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.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
 |
|
|
subject: Java Virus Scanner
|
|
|