[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Anti virus API ?

Posted on 2004-04-04
8
Medium Priority
?
241 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
7 Comments
 

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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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 learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
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.
Suggested Courses
Course of the Month17 days, 17 hours left to enroll

830 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