← Back to team overview

mahara-contributors team mailing list archive

[Bug 785465] Re: Extend the clamav check to ensure sanity of each file type

 

** Tags added: clamav

** Tags removed: clamav
** Tags added: fileupload

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/785465

Title:
  Extend the clamav check to ensure sanity of each file type

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Clamav currently allows Mahara to reject uploads which contain
  viruses.

  We should extend this framework to be able to run sanity checks based
  on the mimetype of the uploaded files.

  For example, we may want to:

  - validate PNG and JPG images and reject invalid ones
  - check whether or not Word documents contain macros and reject them
  - only allow PDFs without any scripts in them

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/785465/+subscriptions


References