Manage application policies

Policies let you control access to an app URL. You can allow or deny access to individual users or groups and configure custom access in advanced configurations.

App policies inherit the original group specified in the app's Essentials tab. Access Gateway checks this group setting before applying an access policy to an app's URI and allows or denies access to the app accordingly. See Application essentials.

This topic describes how to create, configure, edit, and delete Access Gateway app policies.

Start this procedure

  1. Open the Access Gateway Admin UI console.
  2. Click the Applications tab.
  3. Select an app that you want to add, delete, or edit a policy in, and then click Edit (the pencil icon).
  4. Select the Policies subtab.
  5. Do one of the following actions:

You can't change or delete the default root (/) policy.

Add a policy

  1. Click Add (the plus icon) in the policy list header and then select a policy type:
    • Protected
    • Not Protected
    • Protected Rule
    • Adaptive
    • Custom: To add a custom policy you must select another policy type and then change its type to Custom.

    See Policy types for details about each type.

  2. In Resource Path, enter a unique URI to the resource that you want to protect. Access Gateway doesn't support using the same URL for multiple behaviors or policies.

    The custom policy allows you to add a regular expression in Resource Path.

  3. Optional. Clear the Case Sensitive checkbox to make the URI case-insensitive.
  4. For the Protected Rule policy: In Resource Matching Rule, enter a Regex expression representing the users that you want to grant access to the resource. See Example Access Gateway policy for examples of expressions.
  5. Click Okay.

See Application policy precedence for more information on resource paths, policy precedence, general matching, and case-sensitive or insensitive matching.

Delete a policy

  1. Click Delete (the trashcan icon) next to the policy that you want to delete.
  2. In the confirmation dialog, click Yes.

Edit a policy

  1. Click Edit (the pencil icon) next to the policy rule that you want to edit. The Edit existing Policy dialog appears.
  2. Edit the policy as required.
  3. Click Okay to save the changes.