Enable Virus Scan for File Uploads
By integrating a virus scanner into ADOIT, files being uploaded to the ADOIT database (documents, media files, files attached to comments, etc.) or downloaded to your device may be checked for virus infections.
Currently, ADOIT supports integration of Clam AntiVirus (ClamAV) out of the box. If you want to integrate a different virus scanner into ADOIT, please do not hesitate to contact your ADOIT consultant.
A successful integration of ClamAV into ADOIT requires the following steps:
Install ClamAV and Run Clamd
You must install ClamAV virus scanner on the web server before you can run scans.
The ClamAV Daemon, or
clamd, must be running so that the scanning client
clamdscan can check
files for viruses.
Enable ClamAV in the Administration Toolkit
To enable the virus scanner in the Administration Toolkit:
Go to Library Management > Component Settings > ClamAV Virus Scanner > General.
Select the Enable Virus Scanner check box.
In the Path to Virus Scanner executable box, enter the path to
clamdscan. The default installation directory is "C:\Program Files\ClamAV".
Example: Enable ClamAV in the Administration Toolkit
A valid configuration could look like this:
Done! Restart the ADOIT application server for the configuration changes to become effective.
Logging output is written to the file ”<Tomcat installation>\logs\ADOIT15.1.log”. The output looks like this:
2020-01-24 09:59:59,093 INFO [http-nio-8000-exec-5] [S] [-1250119471:10189] # Attempting to scan file test.pdf with scanner ado.ext.virusscanner.ClamAVScanner - com.boc.axw.core.upload.virusscan.VirusScanMgr.scanFile(VirusScanMgr.java:51)