Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Restrict uploaded MIME types

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

AttributeDescription
Configuration nameglide.security.file.mime_type.validation
Configuration typeSystem Properties \(/sys\_properties\_list.do\)
Data typeBoolean
Recommended valuetrue
Default value<none>
Fallback valuefalse
CategoryValidation, 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 impactThis 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 prerequisitesNone

Parent Topic:Validation, sanitization, and encoding