Country Template
This template creates a configuration that checks the country of the remote device. It can be found in the COMPLIANCE CHECK
category when filtered for REMOTE
platform.
If the remote device is not located within an authorized country, you can choose between two actions:
- Denies access to the session based on the country of the remote device.
- Displays a message in the session based on the country of the remote device.
deviceTRUST requires some simple but essential configuration steps to be performed to enable the template for your remoting and DaaS environments. We will guide you step-by-step through simple deviceTRUST configuration steps to enable the template within your remoting or DaaS environment.
We will perform the following steps:
Step 1: Prerequisites
If the required deviceTRUST components (Agent, Console, Client Extension and License) are not yet installed, please visit the Getting Started for Remote guide and complete step 1 to 5 and then continue here with step 2 below.
Step 2: Contexts
The template has imported the following contexts:
Context | Description | Customizations |
---|---|---|
Country | Defines the country in which the remote device is located. | None |
Country Provider | Defines the country provider that reports the country of the remote device. | None |
- If a context is not needed, it can be deactivated or deleted. In addition, the corresponding task sequence within the relevant action must be deleted too.
Step 3: Actions
The template includes a notifying action that displays a message to the user about a context status and an enforcement action that actively controls access to the session. By default, only the notifying action is enabled and the enforcement action is disabled.
Action | Description | Default State | Customizations |
---|---|---|---|
Country - Conditional Access - Enforcement
|
Denies access to the session based on the country of the remote device.
|
Deactivated
|
You must update the following context condition with data suitable for your environment:
COUNTRY None Of AUTHORIZED_COUNTRY_1,…
Replace AUTHORIZED_COUNTRY_X with your authorized countries using the ISO 3166-1 Alpha-2 code. Example: US |
Country - Conditional Access - Notification
|
Displays a message in the session based on the country of the remote device.
|
Activated
|
You must update the following context condition with data suitable for your environment:
COUNTRY None Of AUTHORIZED_COUNTRY_1,…
Replace AUTHORIZED_COUNTRY_X with your authorized countries using the ISO 3166-1 Alpha-2 code. Example: US |
- If both actions have been disabled, the contexts will still be created.
- If both actions have been activated, the deny access task will take priority over the displaying of the notification message.
- Country codes are based on ISO 3166-1 Alpha-2 code.
Troubleshooting
If your deviceTRUST installation or configuration does not work as expected, you can use the Troubleshooting guide to start troubleshooting.