Scenario 4
This scenario covers how to enable App Protection for specific user groups.
The following steps allow you to enable App Protection for users of a specific group:
-
Select the Active Directory user group for which you want to enable the App Protection policies for the users. In this example, the Active Directory user group is ProductManagers.
-
Configure the Broker Access policy rules:
-
Install the Citrix PowerShell SDK and connect to the cloud API as explained in the Citrix blog Getting started with PowerShell automation for Citrix Cloud.
-
Run the command
Get-BrokerAccessPolicyRule
.A list of all the broker access policies for all the delivery groups which are present is displayed.
-
Find the DesktopGroupUid for the delivery group that you want to change.
-
Get the policies that are applied only to a particular delivery group using the command:
Get-BrokerAccessPolicyRule -DesktopGroupUid 7
-
To enable App Protection policies for the users in the ProductManagers user group, run the following commands:
New-BrokerAccessPolicyRule "Example Rule Name_1" -DesktopGroupUid 7 -AllowedConnections AnyViaAG -AllowedProtocols HDX -AllowedUsers Filtered -AppProtectionScreenCaptureRequired $true -IncludedUserFilterEnabled $true -IncludedUsers domain.com\ProductManagers
-
To disable App Protection policies for the users who are not a part of the the ProductManagers user group, run the following commands:
New-BrokerAccessPolicyRule "Example Rule Name_2" -DesktopGroupUid 7 -AllowedConnections AnyViaAG -AllowedProtocols HDX -AllowedUsers Filtered -AppProtectionScreenCaptureRequired $false-ExcludedUserFilterEnabled $true -ExcludedUsers domain.com\ProductManagers
-
-
Verification:
Sign out of Citrix Workspace app, if already open. Sign in to Citrix Workspace app as a user in the ProductManagers Active Directory user group. Launch the protected resource and you see that App Protection is disabled. Sign out of Citrix Workspace app and Sign in again as a user who is not part of the ProductManagers Active Directory user group. Launch the protected resource and you see that App Protection is enabled.