• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • 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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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