**Enhancement request** Currently there is no ability to restrict the files that get uploaded through POST requests. New configuration setting could be added to allow/restrict REST file uploads of specific file extensions.