Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-70269

Update the ClamAV default behaviour when an error occurs

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_311_STABLE
    • Hide
      1. Go to "Site administration > Plugins > Antivirus plugins > Manage antivirus plugins".
      2. Access to "Settings" for "ClamAV antivirus".
      3. Verify that the default for "On ClamAV failure" is shown as "Refuse upload, try again".
      Show
      Go to "Site administration > Plugins > Antivirus plugins > Manage antivirus plugins". Access to "Settings" for "ClamAV antivirus". Verify that the default for "On ClamAV failure" is shown as "Refuse upload, try again".

    Description

      MDL-67545 introduced a nice option for what to do if trying to scan a file with Clam AV fails.

      This is so much better than all the other options that I think it should be default.

      The three options are:

      • Treat files as OK - this is risky. You might end up distributing infected files.
      • Treat files like viruses - this scares users. It tells them they have a virus when in fact it was just our server having a hiccup.
      • Refuse upload, try again - this should surely be the default for new sites?

      Well, it seems obvious to me, so I am going to make a patch.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Dan Marsden Dan Marsden
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Gladys Basiana Gladys Basiana
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 25 minutes
                  25m