--- title: Limit attachment size in training and prediction flows \[New in Security Center 1.3 and updated in 1.5\] description: The glide.platform\_ml\_di.max\_attachment\_size property controls the maximum allowed size limit for returning attachments in training and prediction flows. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-limit-attachment-size-in-tr.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: [File and resources, Hardening settings, Platform Security] --- # Limit attachment size in training and prediction flows \[New in Security Center 1.3 and updated in 1.5\] The **glide.platform\_ml\_di.max\_attachment\_size** property controls the maximum allowed size limit for returning attachments in training and prediction flows. ## More information
| Attribute | Description |
|---|---|
| Configuration name | **glide.platform\_ml\_di.max\_attachment\_size** |
| Configuration type | System Properties \(/sys\_properties\_list.do\) |
| Data type | integer |
| Recommended value | 4,000,000 |
| Default value | 4,000,000 |
| Category | [File and resources](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-file-resources.md) |
| Security risk | - Severity score: 4.3 - CVSS score: Medium - Security risk details: If **glide.platform\_ml\_di.max\_attachment\_size** is not set to the recommended value of 4,000,000 or less, then returning large files could cause a denial of service \(DoS\) attack. |
| Dependencies and prerequisites | None |