Restrict unauthenticated access to attachments

reference brazil Updated Sep 10, 2026 2 min read sc-restrict-unauthenticated-access-attachments.md
Raw file servicenow.com

Restrict unauthenticated access to image attachments using a system property.

Use the glide.image_provider.security_enabled property restrict unauthenticated access to image attachments. If set to true, images are visible to any authenticated user but no unauthenticated user. If set to false, images are visible to anyone with a URL to the attachment. Thumbnails of an attached image maintain the same policy as the original attached image and are accessible to the same set of users as the original attached image. When this property is enabled, more fine grained access control for unauthenticated users is obtained through entries in the Security Allow/Deny List Entities [sys_security_restricted_list] table and through the declaration of public KB articles for those images attached to KB articles. These exceptions to the default policy for unauthenticated users when this property is true are applied in the following order.

Note: In these exceptions, "parent table" refers to the table of the original image attachment from which a thumbnail is generated.

  1. If the table of an attached image or parent table of a thumbnail image is deny-listed in the Security Allow/Deny List Entities [sys_security_restricted_list] table, access is denied to the image/thumbnail.
  2. If the table of an attached image or parent table of a thumbnail image is allow-listed in the Security Allow/Deny List Entities [sys_security_restricted_list] table, access is granted to the image/thumbnail.
  3. If the table of an attached image or parent table of a thumbnail image is included in a public KB article, access is granted to the image/thumbnail.

Ensure that the property glide.image_provider.security_enabled is set to true. If the property does not exist on the System Properties [sys_properties] table, the default value is false.

More information

Attribute

Description

Property name

glide.image_provider.security_enabled

Configuration type

System Properties (/sys_properties_list.do)

Category

Access control

Recommended value

true

Default value

true

Fallback value

false

Functional impact

If the property was previously false and then is set to true, unauthenticated users can no longer be able to access image attachments unless explicitly allowed using one of the exclusion procedures.

Security risk

  • Severity Score: 6.5
  • CVSS Rating: Medium
  • Security Risk Details:

If the property is set to false, image attachments are visible to anyone authenticated or unauthenticated with a URL to the attachment. This may lead to sensitive information leaks. To avoid these, set the property to true and ensure any exceptions to the default policy when the property is true are properly configured.

References

Administering attachments Available system properties

To learn more about adding or creating a system property, see [Add a system property](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-administration/t_AddAPropertyUsingSysPropsList.md).

Parent Topic:Access control

Search documentation
Search document titles and file paths on the brazil branch