Client generated scripts sandbox (instance security hardening)
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Platform Security
The Vancouver release is no longer supported. As such, the product documentation and release notes are provided for informational purposes only, and will not be updated.
Use the glide.script.use.sandbox property to enable script sandboxing.
There are two cases in the Now Platform that enable the client to send
scripts to the server for evaluation:
- Filters or queries
- It is legal to send a filter to the server such as
assigned_to=JavaScript:getMyGroups()
. - System API
- API call enables the client to run arbitrary scripts on the server and receive a response.
- Only those business rules marked client callable are available within the sandbox.
- Only script includes marked client callable are available within the sandbox.
- Certain API calls (largely, but not entirely, limited to ones dealing with direct DB access are not allowed.
- You can't insert, update, or delete data from within the sandbox. For example, any
calls to
current.update()
, are ignored. If you run the Now Platform without enabling script sandboxing, none of these restrictions apply.
More information
To learn more about adding or creating a system property, see Add a system property.