Using filtering rules
Filtering rules is a feature that allows you to control who can access a particular published resource. Each rule consists of one or several criteria for matching against user connections. In turn, each criteria consists of one or several specific objects that can be matched.
You can match the following objects:
- User, a group the user belongs to, or the computer the user connects from.
- Secure Gateway the user connects to.
- Client device name.
- Client device operating system.
- IP address.
- Hardware ID. The format of a hardware ID depends on the operating system of the client.
Notice the following about the rules:
- Criteria are connected by the AND operator. For example, if a rule has a criteria that matches certain IP addresses and a criteria that matches client device operating systems, the rule will be applied when a user connection matches one of the IP addresses AND one of the client operating systems.
- Objects are connected by the OR operator. For example, if you only create a criteria for matching client device operating systems, the rule will be applied if one of the operating systems matches the client connection.
- The rules are compared to a user connection starting from the top. Because of this, the priority of a rule depends on its place in the rule list. Parallels RAS will apply the first rule that matches the user connection.
- The default rule is used when no other rule is matched. You can set it to either Allow if no other rule matches or Deny if no other rule matches, but no criteria is available for this rule.
To create a new rule:
- In the RAS Console, navigate to Publishing.
- Select the Filtering tab.
- Click the Tasks drop-down menu and choose Add (or click the [+] icon)
- Specify criteria for the rule. You will find the following controls:
- Allow if and Deny if: specifies whether the resource must be accessible when a user connection matches all the criteria. Click on the link to switch between the two options.
- (+): adds a new criteria. If you want to match a Secure Gateway, a client device name, a client device operating system, a Theme, an IP address or a hardware ID, click (+). In the context menu that appears, select the type of an object that you want to match and add the specific objects in the dialog that appears. The new criteria appears on the next line.
- (X): Deletes a specific object from matching. For example, you want to delete IP address 198.51.100.1 from matching, click (X) next to it. This control appears when at least one object is added. If all objects in a criteria are deleted, the criteria is removed.
- is and is not: specifies whether the resource must be accessible when a user connection matches the criteria. Click on the link to switch between the two options. This control appears when at least one object is added.
- configure: edits the list of objects to be matched. Click this link to add or delete new objects. Note that for the first criteria (User or group) this link is called everyone. It will change to configure once you specify objects for this criteria.