Enable Virus Scan for File Uploads
By integrating a virus scanner into ADONIS NP, files being uploaded to the ADONIS NP database (documents, media files, files attached to comments, etc.) or downloaded to your device may be checked for virus infections.
Currently, ADONIS NP supports integration of Clam AntiVirus (ClamAV) out of the box. If you want to integrate a different virus scanner into ADONIS NP, please do not hesitate to contact your ADONIS NP consultant.
Integrate ClamAV
A successful integration of ClamAV into ADONIS NP 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.
For information on how to install ClamAV and run clamd
, please refer to Installing ClamAV on
Windows or Installing
ClamAV (for Unix/Linux/macOS).
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 ADONIS NP application server for the configuration changes to become effective.
Logging Output
Logging output is written to the file ”<Tomcat installation>\logs\ADONIS NP11.0.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)