Restricting File Upload types

Hello,

I’m trying to restrict our users from uploading video/audio files. Within XWiki.properties I’ve tried modifying the whitelisted items within the attachments section, however this only prevents them from showing inline. image

Is there a way to disable uploading of certain file types altogether?
Thank you