שתף באמצעות


Tutorial: Create and Implement Rule Sets (Application Masking)

This tutorial provides step-by-step instructions for creating and implementing an application hiding Rule Set, which "hides" the Google Chrome browser for specific users.

Learn how to

  • Create your first Rule Set
  • Test your hiding rules
  • Create assignments for your Rule Set
  • Deploy your Rule Set

Prerequisites

Create your first Rule Set

  1. Open the FSlogix Rules Editor.

    Tip

    If you plan to test this Rule Set in the next section, open the FSLogix Rules Editor as Administrator.

    Create new Rule Set

    Figure 1: Create new Rule Set

  2. Select File -> New to create a new Rule Set.

  3. Enter the name, Google_Chrome.

  4. Select Enter file name to create the Rule Set and open the rule wizard dialog.

    New Rule Set

    Figure 2: New Rule Set

  5. Select Choose from installed programs:.

  6. select Google Chrome.

  7. Select Scan.

    Rule Set Wizard

    Figure 3: Rule Set Wizard

    Note

    This will scan the system for all relevant items for the application and include them as hiding rules.

  8. When complete, the Scan button changes. Select OK to display the automatic hiding rules.

    Application Scan Complete

    Figure 4: Application scan complete

  9. The Rule Editor now displays all the items to be hidden that are related to Google Chrome and you've created your first Rule Set.

    Rule Set Rules

    Figure 5: Rule Set rules

The Rule Editor automatically saves the Rule Set file once the rules have been added.

Test your hiding rules

Testing your hiding rules on the system where the rules were created is one way to validate the rules work as intended. Check out the Configuring FSLogix Apps Rule Sets page for an in-depth guide.

To test the hiding rules:

  1. Be sure the Google_Chrome Rule Set is selected in the left pane.

  2. From the action bar, select Apply Rules to System.

    • This action immediately applies these rules and you should no longer be able to see or open Google Chrome.

    Rule Set Rules

    Figure 6: Rule Set Rules

  3. When complete, select Apply Rules to System again and the rules no longer apply.

    • Google Chrome should reappear and can be opened.

Create assignments for your Rule Set

Rule Set Assignments specify how and to whom the Rules in the Rule Set apply.

To create the assignments:

  1. Be sure the Google_Chrome Rule Set is selected in the left pane.

  2. From the action bar, select Manage Assignments.

    Manage Assignments

    Figure 7: Manage Assignments

  3. Select Add.

  4. Select Group.

    Add Assignments

    Figure 8: Add Assignments

  5. The Select Group dialog box appears.

  6. Select the 'Person' icon to the right of the Group textbox.

    Select Assignments

    Figure 9: Select Assignments

  7. Type 'Domain Users' and select OK.

    AD Group

    Figure 10: AD Group

  8. The Assignments window now shows:

    • 'Everyone', Applies 'No'
    • 'CONTOSO\Domain Users', Applies 'Yes'

    Assignments

    Figure 11: Assignments

  9. Select OK and you've successfully created an assignment for your Rule Set.

Deploy Rule Sets

FSLogix Rule Sets are saved as two (2) separate files:

  • Assignment file (.fxa)
  • Rule File (.fxr)

Rule Set files should be copied to the virtual machine. Copy the files to C:\Program Files\FSLogix\Apps\Rules. Once the files are copied to this location, the FSLogix Apps Services uses them immediately.