--- title: Restrict uploaded MIME types description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-upload-mime-type-restriction.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Validation, sanitization, and encoding, Hardening settings, Platform Security] --- # 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
| 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/validation-sanitization-encoding.md) |
| 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 |