This module integrates with the open-source anti-virus scanner ClamAV. Upload files are forwarded to the ClamAV service and checked. Infected files are blocked in the validation routine, so they cannot be saved.
This module requires a ClamAV service.
It is beyond the scope of this module to describe how to install ClamAV (as this will depend on a number of variables, such as the ClamAV version, the server's operating system, the package management tools available, whether a custom build from source is required, etc), but the process is well documented in the ClamAV documentation.
See http://www.clamav.net/documents/installing-clamav for installation and configuration instructions.
-
Install a ClamAV service. For example:
sudo apt-get install clamav-daemon
-
Enable this module.
-
Configure the module at /admin/config/media/clamav. The unix-socket daemon mode is quickest, but the ClamAV daemon must run on the same host as the web server. TCP/IP daemon mode may be best for a clustered web service. Executable mode is slowest but simplest.