Property reference

glide.attachment.enforce_security_validation

Enables MIME type and file extension validation for attachments uploaded through AttachmentCreator. When true, uploads are validated and use the correct file extension; false disables these checks and can allow dangerous files to be disguised.

Default
Not stated
Type
Not stated
Application
Not stated

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? It enforces validation of file MIME types during uploads to ensure that only files with correct extensions are accepted, thereby reducing security risks.
What area does it affect? File upload security
What does the default mean? No default value is stated in the ServiceNow documentation.
When should you review it? Review this property when configuring file upload settings or enhancing security measures.

Property record

Facts stated in the ServiceNow documentation. No out of the box record has been read from an instance yet.

Property name glide.attachment.enforce_security_validation
Type Not stated
Application Not stated
Default value Not stated
Description Not stated

Sources

Official references and nearby text excerpts where this property appears.

Brazil docs AttachmentCreator ↗
Context preview Snippet 1
... type security You can control what file types users can attach by setting the glide.attachment.extensions and glide.security.file.mime_type.validation properties. For these properties to apply to the AttachmentCreator web service, the property glide.attachment.enforce_security_validation must be set to true. This property is true by default. Example SOAP Message The following is an example of a SOAP message that would take a text file "john1.txt" ...
Context preview Snippet 2
... MIME type in AttachmentCreator web service • Ensure that MIME-types are validated for attachments to prevent dangerous files from being uploaded on your instance using wrong file extensions. Set the glide.attachment.enforce_security_validation © 2026 ServiceNow, Inc. All rights reserved. ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other ...

Attachments guide

This property is part of the attachments guide, which explains how to block file types such as .exe together with the related properties and a script to check your instance.

Read the attachments guide →

More in glide.attachment

Other properties in the same namespace.

All 9 properties in glide.attachment →