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

Add admin options for how to handle detected viruses

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Future Dev
    • Fix Version/s: None
    • Component/s: Administration
    • Testing Instructions:
      Hide

      The patch introduce 2 features:

      1> An email address setting to receive notification when a infected file is detected

      2> Quarantine folder to store the infected files

      Enable Clamav

      1. Install clamav, update definition database
      2. Enable clamav on Moodle site
      3. Specify path to clamscan

      Email address setting

      1. Go To Site Admin > Plugin > Antivirus > Common Settings
      2. Specify Email address to  receive notification
      3. Uploaded a infected file

      Expected behavior:

      1. An email is send to the specified address with the details of the incidence.

      Quarantine folder

      1. Go To Site Admin > Plugin > Antivirus > Common Settings
      2. Enable quarantine
      3. Specify a quarantine folder or leave it blank to use default folder
      4. Specify the 'time to clean up'  to  about 15 minutes
      5. Uploaded a infected file

      Expected behavior:

      1. The folder contains a zip file, which includes a _details.html file and the infected file.
      2. Go To Site Admin > Plugin > Antivirus > Infected files, the zip is displayed there, and available for download/deletion
      3. The quarantine folder should be empty once the  'time  to clean up' has passed

       

       

      Show
      The patch introduce 2 features: 1> An email address setting to receive notification when a infected file is detected 2> Quarantine folder to store the infected files Enable Clamav Install clamav, update definition database Enable clamav on Moodle site Specify path to clamscan Email address setting Go To Site Admin > Plugin > Antivirus > Common Settings Specify Email address to  receive notification Uploaded a infected file Expected behavior: An email is send to the specified address with the details of the incidence. Quarantine folder Go To Site Admin > Plugin > Antivirus > Common Settings Enable quarantine Specify a quarantine folder or leave it blank to use default folder Specify the 'time to clean up'  to  about 15 minutes Uploaded a infected file Expected behavior: The folder contains a zip file, which includes a _details.html file and the infected file. Go To Site Admin > Plugin > Antivirus > Infected files, the zip is displayed there, and available for download/deletion The quarantine folder should be empty once the  'time  to clean up' has passed    
    • Pull Master Branch:
      MDL-66222-Master

      Description

      At the moment if a virus is detected then the file upload is stopped and that is the end of the process. We would like to add:

      a) a new admin setting which will email someone when this happens with details of the dud file

      b) and / or add a new call back so that other behaviors can be added, ie an admin tool that allows retrieval of the file for analysis

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: