This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Scanning while uploading documents Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Scanning while uploading documents" Watch "Scanning while uploading documents" New topic
Author

Scanning while uploading documents

Sen
Greenhorn

Joined: Dec 21, 2001
Posts: 1
Hi ,
How to make sure the document being uploaded to my server doesnt have any virus.
I dont want the users to put some documents with virus into my server.
Some one please reply
Sen
------------------
We are and We are Not


We are and We are Not
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

Upload the files into a quarantine area. Purchase a virus scanning program that is designed to work with servers (Mostly this means that you should be able to name a file and it will check it, rather than scanning the entire machine every time).
When a file comes into the quarantine area, scan it, then (assuming it passes), move it to its final destination.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: Scanning while uploading documents
 
Similar Threads
While mouse button is pressed
Windows 7 and Tomcat compatibility?
Avoid to Upload a Virus...
WA #2 ..... word association
A review of Mac mini :D