Apply an Access Rule to Access Template links
Access Rules are intended to be applied to Access Template links. A single Access Rule or no Access Rule can be applied to a given link. By default, no Access Rule is applied, which configures an unconditional link. By applying an Access Rule, you create a conditional link that has an effect only if the Access Rule’s conditional expression evaluates to True during permission check.
To apply an Access Rule
- In a list of Access Template links, double-click the Access Template link to which you want to apply the Access Rule.
You can select Access Template links from various lists provided be the Active Roles console. Thus, you can use the Delegate Control command on a container object to display a list of all Access Template links that determine the permission settings for that container. The Links command on an Access Template displays all links of that Access Template. The Active Roles Security tab in the advanced details pane lists the Access Template links that determine the security settings for the object selected in the Active Roles console.
- In the Properties dialog box that appears, click the Access Rule tab.
- Click the Change button, and then select the Access Rule you want to apply.
From the Access Rule tab, you can also perform the following tasks:
- Choose a different Access Rule for the selected Access Template link. Click the Change button and choose the Access Rule you want.
- View or change the Access Rule applied to the selected Access Template link. Click the Properties button and then go to the Conditions page to review or modify the Access Rule’s conditional expression.
- Remove the Access Rule from the selected Access Template link. Click the Clear button to remove the Access Rule.
Deploying an Access Rule (demonstration steps)
This section demonstrates how to implement a security scenario where each delegated administrator is restricted to managing users from a single department. The scenario is implemented by using an Access Rule that enables a delegated administrator to access only those objects whose Department property is identical with the Department claim of that delegated administrator.
Step 1. Prerequisites
In this section, we assume that you already have the following prerequisites:
- An Active Directory domain, with at least one domain controller running Windows Server 2016 (or a later version of the Windows Server operating system).
- The Active Roles Administration Service and MMC Interface (console) of the latest version installed on a member server in your Active Directory domain, with the server running Windows Server 2016 (or a later version of the Windows Server operating system).
- Your Active Directory domain is registered with Active Roles as a managed domain.
Step 2. Enable claim support
Configure Group Policy to enable domain controllers to issue claims:
- On a domain controller running Windows Server 2016 or later, open the Group Policy Management console.
To open the console, press Windows logo key+R to open the Run dialog box, type gpmc.msc, and click OK.
- In the console tree, select the Domain Controllers OU under your domain.
- In the details pane, right-click Default Domain Controllers Policy, and then click Edit.
- Perform the following steps in the Group Policy Management Editor console that appears:
- In the console tree, select Computer Configuration | Policies | Administrative Templates | System | KDC.
- In the details pane, double-click KDC support for claims, compound authentication and Kerberos armoring.
- In the KDC support for claims, compound authentication and Kerberos armoring dialog box, click Enabled and select Supported from the Options drop-down list. When finished, click OK to close the dialog box.
- Close Group Policy Management Editor.
- Close Group Policy Management.
- Open a command prompt and enter the following command:
gpupdate /force
.
Configure Group Policy to enable the Active Roles Administration Service to retrieve claims for clients by using Kerberos protocol transition:
- On the server running the Active Roles Administration Service, open the Local Group Policy Editor console.
To open the console, press Windows logo key+R to open the Run dialog box, type gpedit.msc, and click OK.
- In the console tree, select Computer Configuration | Administrative Templates | System | Kerberos.
- In the details pane, double-click Kerberos client support for claims, compound authentication and Kerberos armoring.
- In the Kerberos client support for claims, compound authentication and Kerberos armoring dialog box, click Enabled, and then click OK.
- Restart the computer to apply the new setting to the Active Roles Administration Service. (Restarting only the Administration Service may not suffice.)
Add the Service Principal Names (SPNs) of the Active Roles Administration Service to the service account, to enable support for Kerberos authentication. Enter the following commands at a command prompt, where <FQDN>
stands for the fully qualified domain name of the computer running the Administration Service; <name>
stands for the name of that computer; and <ServiceAccountName>
stands for the name of the service account (domain user account under which the Administration Service runs):
setspn -s aradminsvc/<FQDN> <ServiceAccountName>
For example, setspn -s aradminsvc/arsrv.domain.com domain\arsvcacct
setspn -s aradminsvc/<name> <ServiceAccountName>
For example, setspn -s aradminsvc/arsrv domain\arsvcacct