On 01/25/2012 11:35 AM, Simon Hobson wrote:
[snip]

3) our web site allows users to upload images via a standard form. We
would like to set up ClamAV to be able to scan their file before it gets
uploaded to the server, how can we do this?

You can't - it's not there to scan before it's been uploaded. You'd need to look at the software being used and get it to scan all new files before it goes on to use them.


I would suggest that you upload to a chroot area and then use a server side routine to scan and move the files to the viewable area of the site(s).

--
Jim Preston


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to