This feature is available to AppSheet Enterprise Plus accounts only. See What features are supported with each subscription?
If your app users are all part of a corporate domain, you can use domain security groups to control access to an AppSheet app as described in the following sections.
- View authentication domains in your AppSheet account
- Add an authentication domain to your AppSheet account
- Set up domain authentication in an app
- Prevent app creators from using external authentication domains
The advantage of this approach is that access control decisions can be made globally rather than in each app. For example, if there is a domain security group called Admins, you can set up your app to only be accessible to members of this group. As specific employees are added or removed from the group, their access to the app dynamically changes as well.
View authentication domains in your AppSheet account
To view authentication domains in your AppSheet account:
- Sign in to AppSheet.
- Select your account from the account profile drop-down to go to the My account page.
- Go to Integrations > Auth Domains.
The Auth Domains page shows your personal and team authentication domains. See also Share integrations with your team.
Add an authentication domain to your AppSheet account
By adding an authentication source, you are giving AppSheet permissions to read the list of groups and the group membership for any domains that your account has access to.
To add an authentication domain to your AppSheet account:
- Sign in to AppSheet.
- Select your account from the account profile drop-down to go to the My account page.
- Go to Integrations > Auth Domains.
- Click + New Auth Domain.
The Add a new authentication domain dialog displays. - Enter a name for the authentication source.
- Select one of the following authentication sources from the list:
- Respond to the prompts to authenticate access.
Set up domain authentication in an app
To set up domain authentication in an app:
- Open the app in app editor.
- Go to Security > Domain Authentication.
- Enable Require domain authentication?
- Under Authentication domain source select the name of the account added in the previous step.
- Restrict access by domain by entering a domain name in the Restrict by Domain field.
This field is optional. If set, only members of the groups whose domain matches this field will be permitted to access the app with the specified role. If left empty, all members of the group, regardless of the domain, will be able to access the app with the specified role. - Add Authentication groups that will be used to manage user authentication for this app and perform one or more of the following tasks:
- Change the App role to User or Admin. For information about leveraging the user role in your app, see
USERROLE()
. The role defaults to User. - Change the App version available to the user to Default, Latest, or Stable. For information about app versions, see Maintain a stable app version.
- Change the App role to User or Admin. For information about leveraging the user role in your app, see
-
Save your changes.
Prevent app creators from using external authentication domains
Prevent app creators from using external authentication domains by using the "Restrict external data sources and auth domains" policy, as described below. For more information, see Define governance policies.
To prevent app creators from using external authentication domains:
- Select My account > Policies.
- Click + Account Policy or + Team Policy to add an account or team policy, respectively.
- Select Restrict external data sources and auth domains from the Policy Template drop-down.
- Click Next.
- The policy is preconfigured for you. You can modify any of the field values. See Add a predefined policy for a description of each field.
Important: If you modify the Condition field, ensure that you retain the functionality defined below:
NOT([HasExternalAuth]) - Click Save.