Solved

Anti virus API ?

Posted on 2004-04-04
8
219 Views
Last Modified: 2010-03-31
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
0
Comment
Question by:shenlong_wc
  • 3
  • 3
8 Comments
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 10754462
0
 

Author Comment

by:shenlong_wc
ID: 10754495
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
0
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 10754886
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
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:shenlong_wc
ID: 10755169
Hi,

Thanks for the heads up
but i'd like to keep it 100% java
0
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 10755245
I think you're out of luck. This SDK might be of interest though.

Good luck!
0
 

Author Comment

by:shenlong_wc
ID: 10803018
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
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 11024006
PAQed, with points refunded (100)

PashaMod
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Python Assistance 7 73
printing a file in reverse order is easy in recursion rather than in iteration 3 50
print map entry 34 54
how to add new optional parameter to JSP 1 27
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now