OBLYTECH Logo
OBLYTECH Logo

Configure the Service Portal widget allow list securely

To configure the Service Portal widget allow list securely, leave glide.service_portal.widget.allow_list empty or absent, verify that glide.service_portal.widget.enforce_public_check is true, and inspect whether the affected widgets use SNCACLWidgetUtil. Review table ACLs and minimize the companion table allow list before testing unauthenticated access and required portal journeys.

Understand what the widget allow list controls

The glide.service_portal.widget.allow_list system property identifies widgets permitted to attempt access to any table on the instance. Table access control lists still apply. A widget entry therefore deserves careful review: its reach is broader than a single display field, page, or intended business use.

The sensitive data risk comes from the combination of a public widget, a permissive widget list, and misconfigured empty ACLs on underlying tables. A widget that appears harmless in its normal screen can still participate in unintended information disclosure. Review the data access path behind the screen rather than judging security by the visible layout.

These additional checks apply when the widget uses the SNCACLWidgetUtil script include and glide.service_portal.widget.enforce_public_check is true. Treat both conditions as prerequisites when assessing coverage. An empty property value alone is insufficient evidence that an entire portal has the intended protections.

Check the behavior on your instance and release before applying changes. Record the actual stored settings rather than relying on remembered defaults. For the wider relationship between portal entry points and data permissions, see Service Portal security and access design.

Inventory the settings and data paths before changing them

Start with a controlled review of System Properties and the widgets involved in public access. Keep the investigation specific: which widget can be reached without authentication, which tables it attempts to read, and which access rules protect those tables? Record evidence for each answer so that the configuration change has a defined scope.

  1. Locate glide.service_portal.widget.allow_list and record whether it exists, its data type, and its current value. In current releases it is a String property.
  2. Locate glide.service_portal.widget.table_allow_list and record its current table entries. This companion setting is also a String property.
  3. Check glide.service_portal.widget.enforce_public_check and record whether its value is true.
  4. Inspect the relevant widget implementation for use of SNCACLWidgetUtil. Separate confirmed coverage from widgets that still need investigation.
  5. Review the table ACLs behind the affected widgets, including unexpected empty or permissive configurations.

Assign property changes and ACL investigation to people authorized for those actions under your instance controls. Do not infer an editing role from the property name or treat permission to inspect a portal as permission to change its security configuration.

Keep widget configuration review connected to the actual instance in use. A setting that changes displayed content may alter which data path needs testing, even though it does not establish access rights. Use widget instance options to frame that separate configuration review.

Configure the Service Portal widget allow list securely

The recommended widget allow list value is empty; the property can also be absent. If it currently contains widgets, investigate the reason for each entry before removing it in a controlled change. Capture the prior value and the expected portal behavior so that testing can distinguish a security restriction from an unrelated defect.

Do not populate the list merely because a widget is trusted by its development team. The setting permits listed widgets to attempt access across tables. That broader access path is the reason to prefer the empty configuration and examine exceptions carefully.

Use the property value rather than a descriptive label as the evidence of the change. An empty value means the stored value contains no widget entries. A note saying that the configuration is restricted does not demonstrate what was saved. Read the setting back after editing and compare it with the intended result.

Verify the enforcement prerequisite alongside the list change. If glide.service_portal.widget.enforce_public_check is not true, changing the list does not establish that these additional checks are operating. If the widget does not use SNCACLWidgetUtil, investigate its access implementation separately before claiming the review is complete.

For a custom implementation, trace the server-side access path during the review. Use Service Portal custom widget development when the investigation moves from property configuration into widget code.

Restrict the companion table allow list and inspect ACLs

The glide.service_portal.widget.table_allow_list property identifies tables that unauthenticated users may access through widgets using the additional SNCACLWidgetUtil checks. Its recommended configuration is empty, or restricted to the smallest set of tables with a justified unauthenticated use case.

Review table entries independently from widget entries. A reason to expose one public function does not establish a reason to include unrelated tables. For each retained table, describe what anonymous users need to obtain, why authentication is unsuitable for that use case, and how the expected response will be tested.

Inspect ACLs even when both lists appear appropriately restricted. The lists and ACLs address different parts of the access path. Removing unnecessary entries reduces exposure, while correcting a permissive ACL addresses the underlying data permission problem. Neither review should be marked complete solely because the other passed.

For example, a public information widget might have a legitimate reason to show general guidance. That requirement does not justify exposing employee-specific records through the same journey. Use such contrasting cases to define your test expectations without assuming that a table name or widget title proves data sensitivity.

For help planning this work, see ServiceNow implementation.

Test anonymous access and required portal journeys

Prepare expected outcomes before executing the change. Include an unauthenticated case that should receive public information, an unauthenticated case that should not receive sensitive information, and a signed-in journey that the business still requires. These are review recommendations; choose concrete records and responses appropriate to your environment.

  • Use an unauthenticated session to examine the affected public widget and the information it returns.
  • Check that sensitive data is absent from the returned result, rather than relying on whether the page looks correct.
  • Exercise the approved public use case and record whether its expected information remains available.
  • Run the required authenticated journey and compare its result with the expected behavior.
  • Read back the property values and record the associated widget and ACL review findings.

If a public function stops working, identify the exact widget and table involved before changing an allow list. Check the enforcement value, utility usage, intended table exception, and ACL configuration against your recorded expectations. Avoid restoring a broad set of entries simply to make a single screen render again.

If sensitive information remains available, do not interpret a saved empty value as a successful security outcome. Revisit the access path and the prerequisites. Record what the test actually returned and which control remains unresolved. This keeps a configuration change from being mistaken for proof of protection.

Agree on acceptance criteria with the reviewer before closing the change. A clean result should connect the saved configuration to the observed behavior: the required public information is available, the sensitive information tested is withheld, and the necessary signed-in journey works. Keep any untested widget or unresolved ACL finding visible in the record.

When several widgets share a data source, include those relationships in the test plan. A successful test of one widget does not demonstrate the behavior of another implementation. Prioritize the public entry points associated with the changed settings, and document the boundaries of the review.

Questions about exceptions and change ownership

What should an exception request contain?

Ask for the business purpose, affected widget and tables, intended audience, expected data response, test evidence, and a named reviewer. Include a review trigger so that an exception can be reconsidered when the underlying public function changes or is retired.

Should an emergency rollback restore unrelated entries?

Keep the rollback decision tied to the observed failure and the approved change record. A previous value is historical evidence, not proof that its full contents remain appropriate. Have the security and service owners assess the exposure before restoring a broader configuration.

Who should approve a public data requirement?

Involve the owner of the information as well as the person responsible for the portal journey. The decision concerns what an unauthenticated visitor should receive. Technical ability to change a property does not, by itself, establish business approval to expose the information.

What belongs in the handover record?

Include the before and after values, affected widgets, tables reviewed, expected and actual test results, unresolved findings, and ownership of follow-up work. This gives the next maintainer a reasoned record of the configuration instead of an unexplained list of identifiers.

When should the configuration be reviewed again?

Use changes to public journeys, widget code, underlying tables, and data access requirements as review triggers. Repeat the relevant tests when those assumptions change. Keep the review focused on whether the original access decision still fits the information being returned.