OBLYTECH Logo
OBLYTECH Logo

Restrict unauthenticated access to attachments

To restrict unauthenticated access to image attachments, set glide.image_provider.security_enabled to true and review the exceptions that can still permit anonymous viewing. Check the stored property rather than assuming a default protects the instance. Test original images and thumbnails without signing in, then confirm that intended public knowledge images remain available.

Define the image access boundary before changing it

An image attachment can reveal information even when its surrounding page appears protected. A person who already has the attachment address may try opening the image directly. With glide.image_provider.security_enabled set to false, possession of that address permits image viewing without authentication. Treat screenshots, diagrams, and photographed documents as information assets when deciding which anonymous access paths should remain available.

Start with a short inventory of the images that matter to the change. Include a sensitive image that should require authentication, an image intended for public knowledge readers, and a thumbnail associated with an attachment. Record the originating table for each example. This gives the test a defined purpose: demonstrate that protected content is blocked while approved public content still works.

Keep the change focused on the image access path governed by this property. Broader decisions about attachment storage and protection belong in attachment administration and encryption. A successful image test should lead to a clear statement of what was tested, rather than a claim that the entire attachment environment has been secured.

Restrict unauthenticated access to attachments with an explicit value

Review glide.image_provider.security_enabled in System Properties [sys_properties]. The property belongs to the Access control category, and true is the recommended value. Capture the existing value before changing it so the change record distinguishes an explicit false setting from a missing property. Those starting conditions deserve separate entries even if the immediate access concern looks similar.

  1. Find the exact property name, including the underscores and periods.
  2. Record whether the property exists and what value it stores.
  3. Set the intended value to true through your approved system property change process.
  4. Read the property again and record the saved value.
  5. Run the anonymous and signed-in image checks against the selected examples.

Check this behavior against your instance and release. Brazil and Australia describe a default value of true but a fallback of false when the property is absent. They describe authenticated image visibility and ordered anonymous exceptions. Zurich, Yokohama, and Xanadu instead describe a default of false, authenticated and authorized visibility, and .iix image access, with exceptions for Stationeries [sysevent_email_style], Welcome Page Sections [sys_home], and System Properties [sys_properties]. Do not turn those descriptions into one universal default or exception list.

Assign the property change through your established administration process. The image restriction topic does not specify a role for modifying this property, so avoid assigning a role requirement based on the property name alone. Keep the person approving the intended public access separate in the change record from the person applying the configuration, even if one person performs both tasks.

Review anonymous exceptions in their evaluation order

For the newer exception model, enabling the property establishes the restriction but does not eliminate approved anonymous access. Security Allow/Deny List Entities [sys_security_restricted_list] and public knowledge article declarations affect the outcome. Review these before interpreting an image that remains visible as a failure of the setting.

The evaluation order starts with a deny-listed table. If the attached image’s table is deny-listed, access to that image is denied. For a thumbnail, the relevant parent table is the table of the original image attachment. Use that origin when tracing the decision; the thumbnail’s appearance in a different viewing context does not change which parent table the rule refers to.

The next check is an allow-listed table. A matching allow-list entry permits access to the image or thumbnail. Public knowledge inclusion follows that check and can permit the associated image or thumbnail. This ordering matters when an administrator expects public knowledge publication to explain anonymous visibility but has not first reviewed the table’s deny-list state.

  • Record the original attachment’s table alongside the test image.
  • Review whether that table has a deny-list entry.
  • Review whether it has an allow-list entry.
  • Check whether the image belongs to a public knowledge article.
  • Write down the first applicable decision in the evaluation sequence.

Judge a proposed exception by the information it exposes. Because the allow and deny checks use the table, assess the table-level consequence rather than approving an exception after viewing a single harmless sample. Record the business reason and the owner who accepts public visibility. That makes later reviews possible when the table begins carrying different kinds of images.

Test direct images, thumbnails, and intended public content

Use a browser session without an authenticated ServiceNow login to test the protected example. Open the image directly and record whether the image is visible. Then test the thumbnail independently. Thumbnails follow the original image’s access policy, so a review that checks the original but omits the smaller representation leaves part of the reader experience unexamined.

Repeat the exercise with the image that should remain public. A public knowledge page can provide the business reason for anonymous images, but the result still needs to agree with the exception order. Capture both the expected result and the observed result for each example. Describe the outcome in terms of image visibility rather than assuming a particular error message or response code.

Run a separate signed-in check for the intended audience. This helps distinguish anonymous restriction from a broader viewing problem. Keep the signed-in session separate from the anonymous one throughout the test; switching tabs in the same signed-in browser context does not establish an anonymous result. Record the account context without including credentials in the test evidence.

If scripts also retrieve attachments, plan their checks alongside attachment stream APIs in server scripts. Keep those results identifiable in the record so a working script does not substitute for a browser image check. The purpose is to understand each consumer’s behavior, with evidence for the route actually exercised.

Investigate unexpected visibility before widening access

If a protected image remains visible anonymously, first verify the saved property value. Next establish which attachment and originating table the test actually used. Then trace the applicable exception sequence. This order avoids changing table exceptions to compensate for a property that was misspelled, absent, or still stored with the previous value.

If an intended public image stops appearing, confirm the public access requirement with its content owner before restoring access. Check the deny-list condition before relying on an allow-list entry or public knowledge inclusion. Reversing the property to false can restore anonymous visibility more broadly than the particular image under investigation, so assess that consequence explicitly before proposing it.

Where image access affects a larger platform change, connect the decision to platform security and access design. The access review should explain which audiences need the image, which content may be public, and which examples demonstrate the intended boundary after the change.

For help planning this work, see ServiceNow implementation.

Before closing the change, reconcile the results against the original acceptance list. Mark a protected image that remains public as unresolved unless its exception has been reviewed and accepted. Mark an intended public image that cannot be viewed as an outstanding service impact. Keep those two outcomes distinct because they need different decisions. If a rollback is proposed, carry forward the earlier visibility evidence and the reason for reversing the change. A saved true value is configuration evidence; agreement between the expected and observed image outcomes is the evidence that the change met its purpose.

Questions about operating the image restriction

What should a handover record contain?

Include the property name, its previous and saved values, the reason for the change, and the image examples used for acceptance. Add the originating tables, intended audiences, observed outcomes, and unresolved exceptions. This gives the next administrator enough context to repeat the review without rediscovering why particular public images were accepted.

How should teams choose additional test samples?

Choose samples that add a different access condition: another originating table, a different public content use, or a thumbnail relationship not already covered. Adding many images with the same table and intended audience contributes less evidence than adding a case that exercises a different decision. Keep sample selection tied to the change’s actual exposure.

When should an accepted public image be reviewed again?

A sensible review trigger is a change in the information the image contains or in the audience that needs it. Include image access in the review when a public article is repurposed or an exception’s business owner changes. The original approval should remain understandable after the surrounding content has evolved.

How can reviewers avoid exposing sensitive test evidence?

Describe the result and reference the controlled test record rather than distributing sensitive image copies in routine handover notes. Use an approved sample where possible, and keep actual sensitive examples within the access boundary being evaluated. The evidence needs to demonstrate the outcome without creating another uncontrolled copy of the information.