Virus Scanning Java APIs for uploaded files

2,905 views
Skip to first unread message

Brian

unread,
Oct 18, 2007, 9:56:49 AM10/18/07
to The Java Posse
Has anyone worked with or know of an open-source or propertiery API
for scanning an uploaded file for virus (similar to GMails virus scan
that takes place after you upload attachments). The hope is it is
a .jar I can add to my application.

Goal:

1. Web Page to upload the file using struts file upload features.
2. Scan for Virus
3. Store in a BLOB on our database.

Thanks
-Brian

Amarjeet Singh

unread,
Oct 18, 2007, 10:04:01 AM10/18/07
to java...@googlegroups.com
Take a look at: http://www.openantivirus.org/projects.php

Regards

Amarjeet


--
Amarjeet Singh
Phone: +91-98712-76661

Brian

unread,
Oct 19, 2007, 2:30:54 PM10/19/07
to The Java Posse
Is there anything else more mature? That project looks like it just
getting off the ground.
-Brian

On Oct 18, 10:04 am, "Amarjeet Singh" <amarjeet.aur...@gmail.com>
wrote:


> Take a look at:http://www.openantivirus.org/projects.php
>
> Regards
>
> Amarjeet
>

Rob Moore

unread,
Oct 20, 2007, 11:56:47 AM10/20/07
to java...@googlegroups.com
Hi, Brian,

I'm not sure what your context is, but if you don't mind running clamav
as a daemon you can connect out to it using sockets via Java. The
protocol is fairly simple to work with. As an example, take a look at
the ClamAVScan class from the James project: http://tinyurl.com/39g2kv.

We've written our own implementation at my company and it's worked quite
well for us.

HTH,

Rob

Reply all
Reply to author
Forward
0 new messages