Property reference

glide.script.use.sandbox

Runs client-generated scripts and query conditions in a reduced-rights sandbox. With the default value of true, only approved server-side scripts are available and certain backend operations are restricted.

Default
true
Type
boolean
Application
Global

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 confines the execution of client-generated scripts to a controlled environment, allowing only specific callable business rules and disallowing certain backend API calls.
What area does it affect? Script execution security
What does the default mean? The default value is "true", which means this behavior is enabled by default.
When should you review it? Review this property when configuring security settings or addressing potential script vulnerabilities.

Out of the box property record

Raw metadata from the property record.

Property name glide.script.use.sandbox
Sys ID 523dcc1e0a0a0b6b007d420647b65e93
Type boolean
Application Global
Default value true
Description Run client generated scripts (AJAXEvaluate and query conditions) inside of a reduced rights "sandbox". If enabled, only those business rules and script includes with the "Client callable" checkbox set to true are available and certain back-end API calls are disallowed.
Updated 2024-05-25 05:06:21

Sources

Official references and nearby text excerpts where this property appears.

Context preview Snippet 1
... to elevate privileges to access the module, set the value to security_admin. • Type: string • Default value: admin • Location: Add the property to the System Property [sys_properties] table. glide.script.use.sandbox Enables the "script sandbox" feature. The script sandbox is mainly used when executing client-generated scripts such as query conditions and GlideAjax © 2026 ServiceNow, Inc. All rights reserved. ServiceNow, the ...
Context preview Snippet 2
... Description ◦(Old‎ <blank> ◦(New‎ This property enables the "script sandbox" feature. The script sandbox is mainly utilized when executing client- generated scripts (such as query conditions and GlideAjax expressions‎. If "glide.script.use.sandbox" is not set to the recommended value of "true", then the script sandbox feature will be disabled. • security risk ◦(Old‎ <blank> ◦(New‎ Without the script sandbox, unauthorized/ unauthenticated users ...

More in glide.script

Other properties in the same namespace.

All 17 properties in glide.script →