Possible to restrict uplaoding of file types by role?

Possible to restrict uplaoding of file types by role?

door Tiffany Morgan -
Aantal antwoorden: 3
Hello!
I am wanting restrict students from uploading certain file types when they submit assignments (ie can only upload .doc or .rtf files but no .zip files).

Is this possible? Didnt see anything in the users permissions.

Thanks!
Gemiddelde van de beoordelingen:  -
Als antwoord op Tiffany Morgan

Re: Possible to restrict uplaoding of file types by role?

door David Le Blanc -
As far as I know, moodle doesn't discriminate on the type of files that can be uploaded. An easier route may be to inform the students that due to security concerns, no compressed files (.zip, etc.) can be opened. smile
Gemiddelde van de beoordelingen:  -
Als antwoord op David Le Blanc

Re: Possible to restrict uplaoding of file types by role?

door Tiffany Morgan -
Thanks David. I am finding some of our issues are policy issues versus permissions issues. Was just hopeful this wasn't one of them glimlach
Gemiddelde van de beoordelingen:  -
Als antwoord op Tiffany Morgan

Re: Possible to restrict uplaoding of file types by role?

door Andreas Vollmer -
Hi,

Andreas Hruska, Technical University Vienna, presented a filter like this at MoodleMoot Bamberg and uploaded the other day a patch at Moodle Tracker:
http://tracker.moodle.org/browse/MDL-18713
This will not technically check the file itself but look for format name - which should do.
You'll have to ask your Moodle admin (or be it glimlach ) for installing this.

Hope this fits you,
Andreas
Gemiddelde van de beoordelingen:  -