Restrict uploaded MIME types

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • Use the glide.security.file.mime_type.validation property to activate MIME type checking for uploads. You can enable (set the property to true) or disable (set it to false) MIME type validation for file attachments.

    The glide.security.file.mime_type.validation system property is used to activate MIME type checking for uploads.

    Ensure that the property glide.security.file.mime_type.validation exists in the System Properties [sys_properties] and is set to true. If the property does not appear in the System Properties [sys_properties] table, add a new record.

    More information

    Attribute Description
    Configuration name glide.security.file.mime_type.validation
    Configuration type System Properties (/sys_properties_list.do)
    Data type Boolean
    Recommended value true
    Default value <none>
    Fallback value false
    Category Validation, sanitization, and encoding
    Security risk
    • Severity score: 5.4
    • CVSS rating: Medium
    • Security risk details: MIME type validation for file attachments will not take place which could allow malicious file types to be uploaded.
    Functional impact This remediation enables MIME type verification on the attachments to the application. No functionality impact, unless there is a malicious intent in uploading the files as this validation is merely checking for mis-sync between the MIME type and the data.
    Dependencies and prerequisites None