Overview
When uploading files to Hubshare, you may want to have anti-virus checking to the uploaded objects. If M-Files widgets are used to upload files, those will be uploaded to the M-Files vault directly. If anti-virus checking is needed here is the way to enable that scanner in M-Files Vault Server.
Solution
Anti-virus scanner can be enabled on the M-Files Server's registry.
M-Files Server supports antimalware checks on Microsoft Windows Server 2016 and later. Files uploaded to the M-Files server can be scanned for viruses and malware before they are saved in the repository. To do this, you must use an anti-virus software that is compatible with Windows Antimalware Scan Interface (AMSI). For example, Microsoft Windows Defender. Real-time scanning must also be enabled.
You can find detailed instructions in this article:https://userguide.m-files.com/user-guide/latest/eng/m-files_and_virus_scanning.html?hl=anti-virus#virus_scanning__antimalware_support
To take the antimalware checks into use, add these Windows registry settings on the M-Files Server computer:
- EnableAntimalwareScanner
- TreatAntimalwareScannerErrorsAsTransferBlockingErrors
For the changes to take effect, you must restart the M-Files Server service.
