?
Solved

Virus Cheking Using Java

Posted on 2002-06-19
2
Medium Priority
?
184 Views
Last Modified: 2013-11-24
Sir,

I am working on a mailing system using Java Servlets,
At the time of sending attachment I want to scan the attached file whether the file contains virus or not.

Platform : Novell Netware
Installed Virus Scanning program : MaCafee

Is there any way to scan the file by MaCafee in Java?
If yes, Kindly send me the code.
Thanx
0
Comment
Question by:shekhartewari
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
vasan_sr earned 100 total points
ID: 7095015
U r having Mc.afee....and i think u will be using jsp smart upload for sending attachement.

   in that...what u have to do....in smart upload while saving the file fire a runtime.exec(mcafee) and scan the document...and if it returns any virus ....dont allow him to save...

   for this u have to go thro thr mc.afee api.....

Good Luck

VasanS

0
 

Author Comment

by:shekhartewari
ID: 7096492
Thanx I agree with ur suggestion but can u please send me the code in which the macafee api is used, or tell me some links where i can download the macafee api.

thanx alot
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month10 days, 9 hours left to enroll

765 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