Upload MIME type restriction (instance security hardening)
-
- UpdatedAug 3, 2023
- 1 minute read
- Vancouver
- Platform Security
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.
Prerequisites
Before setting this property, set the glide.attachment.extensions property. Only those extensions specified in glide.attachment.extensions are checked for MIME type during upload. To learn more, see Restrict file extensions.
More information
See Instance Security Hardening Settings for details on configuring properties for hardening.
To learn more about adding or creating a system property, see Add a system property.