CAD · Question #3
Which one of the following is true for a Script Include with a Protection Policy value of Protected?
The correct answer is D. The Protection Policy is applied only if the application is downloaded from the ServiceNow App. In ServiceNow, a Script Include's Protection Policy set to 'Protected' only takes effect when the application containing that Script Include is downloaded from the ServiceNow App Store (formerly the ServiceNow Store). If you are developing or running the application directly on y
Question
Which one of the following is true for a Script Include with a Protection Policy value of Protected?
Options
- AAny user with the protected_edit role can see and edit the Script Include
- BThe Protection policy option can only be enabled by a user with the admin role
- CThe Protection Policy is applied only if the glide.app.apply_protection system property value is
- DThe Protection Policy is applied only if the application is downloaded from the ServiceNow App
How the community answered
(52 responses)- A6% (3)
- B2% (1)
- C2% (1)
- D90% (47)
Explanation
In ServiceNow, a Script Include's Protection Policy set to 'Protected' only takes effect when the application containing that Script Include is downloaded from the ServiceNow App Store (formerly the ServiceNow Store). If you are developing or running the application directly on your own instance (not installed via the Store), the protection policy is not enforced. This means locally developed applications are not subject to the protection even if the flag is set. Options A and B are incorrect because the 'protected_edit' role and admin-only enabling are not how protection policies work. Option C is incorrect because there is no such system property called 'glide.app.apply_protection' that gates protection enforcement.
Topics
Community Discussion
No community discussion yet for this question.