Extend the clamav check to ensure sanity of each file type

Bug #785465 reported by François Marier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Triaged
Wishlist
Unassigned

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

tags: added: clamav
tags: added: fileupload
removed: clamav
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.