Extend the clamav check to ensure sanity of each file type
Bug #785465 reported by
François Marier
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.