White list for upload files

White list for upload files

by omri yona -
Number of replies: 2

Hi all,

I am using Moodle 3.10 and I need to allow upload only several file types in my system for all users (include teachers). I sew the this Working_with_files post but the Restricting part talking only in Assignment and Workshops. I try remove file type from the Site administration setting (server tab) but still remove JS file and user mange upload one.

What I am missing there is no way to allow all users only several file type?

thank you for you help,

Omri


Average of ratings: -
In reply to omri yona

Re: White list for upload files

by omri yona -
Any One can help me please?
In reply to omri yona

Re: White list for upload files

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers
I do not believe that Moodle provides this feature globally on a Moodle site. It is available in the Assignment activity.

Administration | Plugins | Activity modules | Assignment | Submission plugins | File submissions.

And there are some internal rules so that, for example, a user's profile photo cannot be an Excel file.

I am not a programmer, but there might be a way to modify Moodle's code for the functionality that you need.