Here's the scenario: User changes the extension of a .js file to .jpg and upload the file, by no means we are able to restrict the user from uploading the file. Is there a way to stop user from uploading based on associated mimetype ?
Currently it is not possible. We plan to add validation by MimeType in the future versions of the control.