Blocking IP's in the Moodle Site administrator
When administrating a Moodle site, it is important to set your Moodle to scan file uploads for viruses before they are accepted to the server. Moodle 2.3 has the Antivirus capability to accomplish this. Moodle uses ClamAV to scan uploaded files. This can be set up in the Site administration section. Lets set up ClamAV in Moodle.
Important! In order to use this feature, ClamAV will need to be installed on the server. If you are using a shared server at Inmotion, ClamAV is not installed. ClamAV can be installed on VPS and Dedicated servers. Please click here to learn how to install ClamAV.
The clam AV path and the Quarantine directory will be specific to your server configuration. If you do not know this information, please contact support or your hosting company to find the directory and path.
|Use ClamAV on Upload||Enabling this will have ClamAV scan the file before its uploaded to the server.|
|clam AV path||The path to ClamAV can vary on a server; however, the usual path is:
|Quarantine directory||When ClamAV needs to quarantine a file, this directory will be used to store them. Leaving this blank will have the uploaded file deleted.|
|On clam AV failure||If ClamAV fails, the file will either be deleted or moved to the quarantine folder. Selecting Treat files as OK will not delete them. Treat as Virus will delete the file.|
Once finished click Save changes.
If the the ClamAV path or the directory is incorrect or if there is a configuration problem, Moodle will notify you.
|Wrong Paths||Correct Paths|
Congratulations, your file uploads in Moodle will now be scanned for viruses prior to them being uploaded to the server. This concludes the article for Setting up ClamAV AntiVirus for Moodle file uploads. For more information about Moodle security, please visit Moodle site security and server settings.
We value your feedback!
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
|1.||Setting the Moodle login to work over HTTPS|
|2.||Forcing Moodle 2.3 to work over SSL|
|3.||Blocking IP's in the Moodle Site administrator|
|4.||Setting up ClamAV AntiVirus for Moodle file uploads|
|5.||Enable / Disable maintenance mode in Moodle|