Application Access Policies with JavaScript

If you want to control the circumstances more specifically for which users can access an application or when they need to provide additional authentication credentials, you can use JavaScript. The JavaScript code can determine very specifically when which users are either prevented from accessing an application outside the corporate network or they need to provide additional authentication credentials. You specify the JavaScript in the Policy tab of an application’s settings.

It’s assumed that you know how to write JavaScript code to use this feature. If you don’t know JavaScript, you can use one of the sample scripts that the Privileged Access Service provides. The sample scripts require little to no modification in order to run.

This section includes some guidance as to what types of data that you can specify in your policy script in the following topics. For information about how to use JavaScript, please consult a JavaScript reference guide or tutorial.