Last modified by Aurelie Bertrand on 2026/01/12 16:46

Hide last authors
jhurst 1.1 1 {{ddtoc/}}
2
3 ----
4
5 = Installation =
fperrier 2.1 6
cvaiana 3.1 7 Installing antivirus software on a DigDash server to prevent users from uploading and downloading malicious files from DigDash is possible using software such as [[ClamAV>>https://www.clamav.net/]].
jhurst 1.1 8
cvaiana 3.1 9 To do this
fperrier 2.1 10
cvaiana 3.1 11 * Install ClamAV on the server
12 * Run the following command to update the ClamAV virus database: {{code language="bash" cssClass="notranslate"}}freshclam{{/code}}
13 * Configure the [[On-Access Scanning>>https://www.clamav.net/documents/on-access-scanning]] feature to monitor sensitive folders (DigDash's AppData folder, for example)
14 * Run {{code language="bash" cssClass="notranslate"}}clamd{{/code}} and {{code language="bash" cssClass="notranslate"}}clamonacc{{/code}}
jhurst 1.1 15
cvaiana 3.1 16 = Automatic update of the virus database =
fperrier 2.1 17
cvaiana 3.1 18 The command {{code language="bash" cssClass="notranslate"}}freshclam{{/code}} command is used to manually update the ClamAV virus database.
jhurst 1.1 19
cvaiana 3.1 20 There are two ways of ensuring that the database is updated regularly:
jhurst 1.1 21
cvaiana 3.1 22 * **Use a service**: Services exist under certain Linux distributions which allow the database to be refreshed periodically in the background (see clamav-freshclam.service).
23 * **Run the command using a task scheduler**: A scheduler such as cron can be used to run the {{code language="bash" cssClass="notranslate"}}freshclam{{/code}} at regular intervals.
jhurst 1.1 24
cvaiana 3.1 25 The database can be updated 4 times an hour ([[ClamAV Virus Database FAQ>>https://www.clamav.net/documents/clamav-virus-database-faq#how-many-times-per-hour-shall-i-run-freshclam]]).