Page 1 of 1

Anti-virus scan of files on upload

Posted: 2016-03-14 21:18
by peebee
I'm looking for suggestions for a means by which to scan uploaded files with an anti virus as the file is being uploaded.

We are currently using ClamAV (https://www.clamav.net) on the server and whilst it works just fine for periodic scanning of files/folders, we are having problems getting it to scan files AS THEY ARE BEING UPLOADED, as this is not a default behaviour of ClamAV.

There is a php extension for ClamAV called php-clamav (https://sourceforge.net/projects/php-clamav) which is designed for the purpose but I understand it is no longer supported since 2014 and that is not a good thing going forward, particularly as we hope to upgrade to php7 in the near future.

Installation will be on a private server (running latest Ubuntu) on which we have unrestricted permissions/access to install anything, so I am open to any suggestions or recommendations out there. Thanks.