--- title: Define restricted downloadable MIME types description: Use the glide.ui.attachment.force\_download\_all\_mime\_types property to download MIME types and not to render inline in the browser. locale: en-US canonical_url: https://www.servicenow.com/docs/r/platform-security/instance-security-hardening-settings/sc-downloadable-mime-types.html release: brazil product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Validation, sanitization, and encoding, Hardening settings, Platform Security] --- # Define restricted downloadable MIME types Use the **glide.ui.attachment.force\_download\_all\_mime\_types** property to download MIME types and not to render inline in the browser. If the **glide.ui.attachment.download\_mime\_types** property doesn't include dangerous MIME types such as text/html, image/svg, image/svg+xml, application/xml, and application/xhtml+xml, then those dangerous files could be rendered inline in the browser, which could lead to Cross-Site Scripting \(XSS\) attacks. This property is a comma-separated list of attachment MIME types that are downloaded to the client and don't render inline in the browser. For example, including text/html forces HTML files to be downloaded to the client as attachments rather than viewed inline in the browser. Maintaining this list properly by including all dangerous MIME types prevents Cross-Site Scripting attacks. **Note:** This property's protection is only relevant when the **glide.ui.attachment.force\_download\_all\_mime\_types** property is set to **false**. If the **glide.ui.attachment.force\_download\_all\_mime\_types** is set to **false**, verify that the **glide.ui.attachment.download\_mime\_types** system property includes the dangerous MIME types `text/html,image/svg,image/svg+xml,application/xml`. ## More information
| Attribute | Description |
|---|---|
| Configuration name | **glide.ui.attachment.force\_download\_all\_mime\_types** |
| Configuration type | System Properties \(/sys\_properties\_list.do\) |
| Data type | String \(Comma-separated list of MIME types\) |
| Recommended value | text/html,image/svg,image/svg+xml,application/xml,application/xhtml+xml |
| Default value | text/html,image/svg,image/svg+xml,application/xml,application/xhtml+xml |
| Fallback value | '' |
| Category | [Validation, sanitization, and encoding](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/instance-security-hardening-settings/validation-sanitization-encoding.md) |
| Security risk | - Severity score: 6.3 - CVSS score: Medium - Security Risk: Maintaining this list properly can prevent cross site scripting attacks. |
| Dependencies and prerequisites | This check is only relevant when the **glide.ui.attachment.force\_download\_all\_mime\_types** is set to **false** or doesn't exist in the System Properties \[sys\_properties\] table. |