Learn how to configure iis_iusrs in IIS. Our IIS Support team is here to help you with your questions and concerns.
How to Configure IIS_IUSRS in IIS
Managing user permissions in IIS can seem daunting, but it is easy once we know the steps. Our experts have put together this guide to help you safely apply modify or write permissions without touching Windows user account privileges.
Applying Modify/Write Permissions to An IIS Application Pool
- First, open IIS Manager and right-click the domain under the Sites list.
- Then, select Edit Permissions.
- Now, head to the Security tab to see `MACHINE_NAME\IIS_IUSRS` listed. As this account already has read-only access, no changes are needed here.
- Now, click Edit and then Add. At this point, enter the following in the text box:
IIS AppPool\MyApplicationPoolName
Remember to replace MyApplicationPoolName with the application pool name.
- Next, click Check Names. This will validate the name, then press OK.
- Then, with the application pool selected, assign the modify or write permissions.
- As ‘IUSR` is part of `IIS_IUSRS`, we can opt to safely remove separate `IUSR` permissions.
Boosting Security with Unique Identities
Windows uses “Virtual Accounts” to give each IIS application pool a unique identity. This is more secure because it isolates our application processes. Let’s take a look at how to configure it:
- First, go to the application pool in IIS Manager.
- Then, head to Advanced Settings, find Identity and change it to ApplicationPoolIdentity.
- Now, we can create a custom account (`IUSR_[identifier]`) within our Active Directory (AD) environment.
- We have to assign this account in the application pool under Identity > Custom account > Advanced Settings.
- Then, give this account the needed NTFS permissions on our files and folders.
Common Pitfalls and Solutions
A common pitfall is granting permissions to everyone or generic users. This can lead to security vulnerabilities. Instead, follow these steps:
- Modify Directory Permissions:
- Right-click the directory we want to change, select Properties, then go to the Security tab.
- Then, click Edit, then Add.
- Type `IIS_IUSRS` in the text box and click Check Names.
- Assign execute and write permissions, then click OK.
- Handle Permission Errors:
If we run into errors while updating directory contents, just click Continue. The goal is to update the directory’s permissions, not its contents.
- Full Control for Specific Applications:
For applications like Forms Builder that need to create logs:
- First, open Windows Explorer and go to the application’s directory.
- Right-click, select Properties and go to the Security tab.
- Then, select `IIS_IUSRS` and click Advanced.
- Now, assign Full control permissions and click OK.
With these steps, we can securely manage IIS permissions without the risk of altering Windows user account settings.
[Need assistance with a different issue? Our team is available 24/7.]
Conclusion
In brief, our Support Experts demonstrated how to configure iis_iusrs in IIS.
0 Comments