Lessons › Domain 3: Security and Restricting Access (20%) › Lesson 12
Protecting Application Artifacts with Scope
About 14 minutes · Last checked against the CAD blueprint (January 2026): 4 December 2026
Step 1 · Learn
Controlling what other applications can do
Scope protects an application from other applications. You decide which tables and scripts other scopes can use, and how.
Table application access
| Setting | Effect |
|---|---|
| Accessible from | This application scope only, or All application scopes |
| Can read / create / update / delete | What other scopes may do with records, when accessible from all scopes |
| Allow access to this table via web services | Whether web services can use the table |
| Allow configuration | Whether other scopes may add business rules, fields and other configuration to the table |
Choosing 'This application scope only' means no other application can affect the table.
Script includes
A script include's Accessible from setting decides whether only its own scope or all scopes may call it. Keep helper code private unless other applications need it.
Cross-scope access
- When a script in one scope uses a resource in another, the platform can record it as a cross-scope privilege (
sys_scope_privilege) with a status of requested, allowed or denied. - Runtime access tracking, set per application, is None, Tracking or Enforcing. With Tracking, records are created and access is allowed; with Enforcing, only allowed privileges may run.
- A privilege can never grant more than the target table's own settings allow.
- Restricted caller access lets the owner of a resource decide which other scopes may call it.
Step 2 · Do
Set application access for the loans table
The HR application needs to read loan requests, and nothing else. Configure scope protection. This is a practice environment of our own design, not the ServiceNow product. Complete the tasks in the task list.
Step 3 · Check
Exam-style questions
Select an answer and check it. Every answer includes an explanation.