Przejdź do głównej zawartości
Wersja: 14.0

Enable Virus Scan for File Uploads

By integrating a virus scanner into ADONIS, files being uploaded to the ADONIS database (documents, media files, files attached to comments, etc.) or downloaded to your device may be checked for virus infections.

Currently, ADONIS supports integration of Clam AntiVirus (ClamAV) out of the box. If you want to integrate a different virus scanner into ADONIS, please do not hesitate to contact your ADONIS consultant.

Integrate ClamAV

A successful integration of ClamAV into ADONIS 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:

  1. Go to Library Management > Component Settings > ClamAV Virus Scanner > General.

  2. Select the Enable Virus Scanner check box.

  3. 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:

 Enable ClamAV in the Administration Toolkit

Done! Restart the ADONIS application server for the configuration changes to become effective.

Logging Output

Logging output is written to the file <Tomcat installation>\logs\ADONIS14.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(