Solved

Anti virus API ?

Posted on 2004-04-04
8
217 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
Comment Utility
0
 

Author Comment

by:shenlong_wc
Comment Utility
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
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:shenlong_wc
Comment Utility
Hi,

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

Expert Comment

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

Good luck!
0
 

Author Comment

by:shenlong_wc
Comment Utility
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
Comment Utility
PAQed, with points refunded (100)

PashaMod
Community Support Moderator
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

743 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

8 Experts available now in Live!

Get 1:1 Help Now