• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Virus Cheking Using Java

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
shekhartewari
Asked:
shekhartewari
1 Solution
 
vasan_srCommented:
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
 
shekhartewariAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now