How to disable file uploads except Avatars

I think I will go with your suggestion of restricting file size of uploads (though I think Discourse should have the option I wanted in-built). Thanks v.much for your reply / suggestion.