Many organizations prefer to run uploaded files in SynaMan through a dedicated antivirus package to ensure their safety. This page talks about how to accomplish this task.
There are two types of antivirus that you could use
Many organizations prefer to install an antivirus package on most computers, including servers. These antivirus packages have the ability to monitor disks and detect problems as soon as files are saved. In such cases, files are scanned as soon as an upload completes. The antivirus package typically quarantines harmful files if necessary.
Installing such antivirus packages is completely independent of SynaMan and therefore, no configuration change is required.
Starting from v5.1, SynaMan offers several methods of integrating various third-party antivirus packages. These packages are divided into 3 categories:
ClamAV is an open-source and free software for scanning viruses. You could run ClamAV either on the same machine where SynaMan is installed or on a separate computer. Once installed, you need to run it in Daemon mode, which allows ClamAV to accept connections from multiple machines over the network.
When configuring ClamAV with SynaMan, you will need to specify the
|Command Line Scanners||
Many third-party antivirus software packages allow scanning file using a command line interface. For example, you could use Windows Defender if you're using SynaMan on a Microsoft Windows platform.
You need to provide the following parameters when using a command line scanner:
|ICAP Capable Servers||
Similar to ClamAV's daemon, ICAP capable servers listen on a network port, allowing other software to send files over a network connection and return information about the virus if found.
When configuring an ICAP server, you will need
The ICAP protocol supports two methods:
|Description||Option 1||Option 2|
|Configuration||No configuration required in SynaMan||Additional configuration required in SynaMan|
|Handling Viruses||Depends upon how the software is configured. Typically, email alerts are not sent.||You can configure SynaMan to either delete or rename uploaded files. Alerts can be sent via email to the administrator about the uploaded file.|
|Logging||Depends upon the software you use||IP address, user's name as well as information about the virus will be logged allowing administrators to take further action.|
You will see a Test Connectivity button towards the bottom when at least one antivirus mechanism is enabled.
You see the following error when testing connectivity.
This error occurs when both Option 1 and Option 2 are enabled simultaneously. When testing connectivity with an antivirus, SynaMan needs to save a test virus (EICAR), to the disk. When Option 1 is enabled, the antivirus software running at the OS level deletes this file right away and therefore, a valid test cannot be performed.