Link to home
Start Free TrialLog in
Avatar of shenlong_wc
shenlong_wc

asked on

Anti virus API ?

Hi all,

I have a servlet site with uploading capabilities.
Due to the recent spat of viruses, i need to scan through an upload and the user will need to be prompted if the upload contains a virus . How can i go about doing this ? I have been through a few sites like norton but they do not provide such APIs . It doesn't have to be free.

Thanks
Avatar of Tommy Braas
Tommy Braas
Flag of Australia image

Avatar of shenlong_wc
shenlong_wc

ASKER

Hi Orangehead,

thanks for the link, but their interface is in C/C++
i posted this question in the Java section with intention for a Java interface solution
I seriously doubt that you will find anyone providing Java APIs for anti-virus scanning functionality. However, it is fairly easy to write native code in C/C++ bridging the gap between Java and the native world.

You can find some illuminating sample code here: http://java.sun.com/developer/codesamples/jni.html

You will need to use the 'javah' tool to generate the C stub file you will use:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javah.html
Hi,

Thanks for the heads up
but i'd like to keep it 100% java
I think you're out of luck. This SDK might be of interest though.

Good luck!
there's a 3rd party connector called OPSWAT AntiVirus Integration SDK

as taken from their website :

Professional Integration Development Kit for AntiVirus Applications
OPSWAT’s AntiVirus SDK is a professional, extensive and complete software kit for developing AntiVirus integrations. With it's simple object-oriented interface, OPSWAT AntiVirus SDK provides a programmatic tool for controlling, managing, and checking the behavior of a wide variety of AntiVirus applications.

http://www.opswat.com/antivirussdk.html
ASKER CERTIFIED SOLUTION
Avatar of PashaMod
PashaMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial