Feature Demo, Initial setup
Feature Demo, Initial Setup How to Create a Policy
AuthAnvil On-Demand lets you use policies to control and customize how authorization is given or refused. Policies are rules that consist of elements, criteria, and actions.
- Elements are the categories you specify to be evaluated. The available elements are:
- Sign-in time
- Sign-in location
- Sign-in IP
- Sign-in device
- Criteria are conditions that the elements must meet. For example, you can specify a range of IP addresses that are to be controlled by the rule.
- Actions are what you execute when the elements meet the set criteria. For example, an action may be “Deny Access” to certain requests that meet a set of criteria.
How to Create a Policy
This example shows you how to create a simple policy that limits access based upon geolocation. This policy will limit users of this AuthAnvil tenant to logging in from the United States only.
- Log in to your AuthAnvil portal.
- Select Policy Manager->Authentication from the left-hand navigation menu. The Authentication window opens.
- Click the green plus sign ( ) in the lower-right corner of the Authentication window. The Create a New Policy wizard opens.
- Give your policy a name. This example uses “Restrict by geolocation.”
- Create your first rule. This rule limits sign-in location by country:
- Create the action if the specified criteria are true. This example requires 2FA for allowed users:
- Creat the action if the specified criteria are false (else). First, click the green plus sign above “Add Else actions.”
- Set the action. This example denies access to all requests that do not meet the criteria: