2.1 Modifying Identity for an Application Pool

Perform the following steps to change the identity for any application that is running on IIS server to make the application secure and reliable:

  1. Open the IIS Manager Console.

  2. Click Application Pools.

  3. Select a preferred application pool from the list.

    For example, RDWeb Access.

  4. Click Advanced Settings from the Actions menu on the right pane.

  5. Set the Identity in the Process Model to one of the below values:

    • LocalSystem when working with only local resources.

      This is the last step while configuring the application pool for local resources.

    • Specific username of the domain user with an appropriate privileges and delegations.

      For Domain user account, continue with Configuring the Application Pool for Domain User Account.

  6. Click OK.

2.1.1 Configuring the Application Pool for Domain User Account

It is required to configure the following settings for running the pool using a domain user account:

Configuring IIS Hosts

The IIS hosts where the Advanced Authentication IIS Authentication Plug-in is installed, perform the following:

  1. Add the preferred domain user to the local administrators group.

  2. Navigate to one of the following paths to grant user privileges through the following permissions:

    • For local policy: Start > Administrative Tools > Local Security Policy navigate to Local Policies > User Rights Assignment.

    • For domain policy: Open relevant GPO in gpedit then navigate to Local Policies > User Rights Assignment.

      Grant the following permissions:

      • Act as part of the operating system

      • Impersonate a client after authentication

      • Log on as a service

      • Log on as a batch job

Domain Access to Authorization of User Accounts

Accounts that perform Service for User Impersonation (S4U) need to be granted Read tokenGroupsGlobalAndUniversal. This gets assigned when the user accounts are included in the inbuilt domain group, Windows Authorization Access Group.

Launch Active Directory Users and Computers, click Domain/builtin in tree > Windows Authorization Access Group Properties > Members then search and select one or more users.

NOTE:When there are multiple domains, the pool user must be added to the group in each domain from where users will login.

Configuring Constrained Delegation

  1. Launch Active Directory Users and Computers and select the preferred IIS host.

  2. Click Delegation tab.

  3. Select Trust this computer for delegation to specified services only and select Use any authentication protocol.

  4. Configure each target resources by service type and host.

    For example,

    • CIFS service for file share.

    • SQLSvc service for SQL server.