• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Virus Scanner

 
Michael MacEachran
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20980
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 15216
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic