Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to implement an ACL in order to secure client callable scripts?

runnah
Kilo Contributor

Hello,

I am currently working on deploying a custom application to the ServiceNow store. I found that we have a script included in the application that is client callable. Based on section 7 Using Access Control Rules - ServiceNow Wiki on this link, I must secure access to this script. However, I cannot find any useful documentation on how to perform this task.

What are the actions needed to take in order to restrict access to this script or is there a different fix to correct this issue?

Thank you for your time,

-Runna

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Runna,



You have to create a ACL against type "client_callable_script_include" and operation is "execute" against name of the script include. Attached screenshot for reference. Once done secure it via role.


Screen Shot 2016-05-27 at 11.36.42 AM.png


View solution in original post

4 REPLIES 4

Chuck Tomasi
Tera Patron

Hi Runna,



In your ACL choose type: client_callable_script_include



find_real_file.png



The operation field will become read-only with a value of execute. You then specify by role, condition, or script, who has access to execute that script include, just like other ACLs in the system.



http://wiki.servicenow.com/index.php?title=Using_Access_Control_Rules


Chuck,



Thank you for your prompt response! I have configured an ACL with type client_callable_script_include, but is this the only thing I need to configure to successfully make the script secure?



Thanks,



-Runna


Yeah, that's it.


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Runna,



You have to create a ACL against type "client_callable_script_include" and operation is "execute" against name of the script include. Attached screenshot for reference. Once done secure it via role.


Screen Shot 2016-05-27 at 11.36.42 AM.png