Anti Virus Scanner

note_awesome

Currently, SAI360 supports the open source product ClamAV for Virus scanning out of the box.

The scanner itself is not part of the SAI360 suit and needs to be installed separately by our clients.

The solution has been designed so that over time it can be extended to support additional Anti Virus clients. Please contact SAI360 for more information.

The virus checker will only scan documents which are uploaded via the web application, but not those uploaded via Roam (which only allows image files) or API's.

Setting up Clam AV

To scan files which are being uploaded into the SAI360 Web Application as attachments, clients need to set up their virus checking service, and then provide the following configuration details.

In a first step, it is necessary to create a separate file clamav.properties, in the same directory as the config.properties file.

clamav.properties

# Replace with your Clam AV host name
ClamAVServer=<address of your Clam AV server>
# Standard Clam AV Port
ClamAVPort=3310
# Timeout - the default setting is 15000 ms
ClamAVTimeout=10000

In addition, the following generic AV settings must be made in the config.properties file:

  • AntiVirusFactoryClass: determines the Anti-Virus provider which is used. For ClamAV, this setting is:
    AntiVirusFactoryClass=com.bmssolutions.framework.antivirus.ClamAvAntiVirusClientFactory
  • AntiVirusAllowFileUploadWhenScannerDown: you can use these two options:
    • false: when the Scanner is down, users will NOT be able to upload any documents.
    • true: users CAN upload documents - however these documents won't be scanned.

    This setting defaults to "false".

  • AntiVirusEmailAddressee: address used when SAI360 cannot communicate with the virus scanner.
  • AntiVirusEmailFrom: optional
    By default, the system will take the entry from the field EmailDefaultFromAddress (see above).
  • AntiVirusEmailReplyTo: optional

Here is an example - please note the mainConfig. prefix:

mainConfig.AntiVirusEmailAddressee=av-server-down@sai360.com
mainConfig.AntiVirusAllowFileUploadWhenScannerDown=false
mainConfig.AntiVirusFactoryClass=com.bmssolutions.framework.antivirus.ClamAvAntiVirusClientFactory

See Also

Other Admin Functions

Fonts for the "Save to PDF" Functionality

Maintenance