Is there a way to restrict file types and/or file size for upload?

I have run into several cases where developers want to restrict what file types and file sizes their editors can upload. Is there a way to do this in CM1?

There is nothing in the CM1 settings that controls this. Perhaps someone closer to our engineering team can weigh in on this as well.