Conditional Application Access for Country Template

This template creates a configuration that hides or denies access to applications in the session based on the country of the local device. It can be found in the GEOLOCATION category when filtered for LOCAL platform.

If the local device is not located within an authorized country, you can choose between two actions:

  • Hides applications with FSLogix App Masking based on the country.
  • Denies access to applications with Microsoft AppLocker based on the country.

deviceTRUST® requires some simple but essential configuration steps to be performed to enable the template for your local environment. We will guide you step-by-step through simple deviceTRUST configuration steps to enable the template within your local environment.

We will perform the following steps:

Step 1: Prerequisites

If the required deviceTRUST components (Agent, Console and License) are not yet installed, please visit the Getting Started for Local guide and complete step 1 to 4 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. None
Country Provider Defines the provider that reports the country information. None

Note:

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 an FSLogix App Masking and a Microsoft AppLocker enforcement action that actively controls access to applications, depending on the technology available. By default both actions are disabled.

Action Description Default State Customizations
Country - Conditional Application Access - Enforcement - FSLogix App Masking


Hides applications with FSLogix App Masking based on the country.


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
FSLOGIX APP MASKING Replace ENTER_YOUR_FXA_PATH_HERE with your target .fxa file path on all FSLogix App Masking tasks. Example: %ProgramFiles%\FSLogix\Apps\Rules\NotepadPlusPlus.fxa
TERMINATE APP Replace ADD_PROCESS_NAME_X with your target process name on all Terminate App tasks. Example: notepad++.exe
Country - Conditional Application Access - Enforcement - Microsoft AppLocker

Denies access to applications with Microsoft AppLocker based on the country.

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
MICROSOFT APPLOCKER Replace ENTER_YOUR_PATH_HERE with your target configuration on all Microsoft AppLocker tasks. Example: %PROGRAMFILES%\Notepad++\notepad++.exe

Note:

  • If both actions have been disabled, the contexts will still be created.
  • 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.

Conditional Application Access for Country Template