TN 106 Giving the ASP.Net user permissions to create folders and write to a web server
Description
This article goes through the process of adding permissions to the ASP.Net user for a web server. This will prevent the necessity to grant all users or a specific group of users this permission.
- Author: Joseph Hefner
- Published: 08/21/2015
- Applies to: Intelatrac 5
Details
1. Open IIS Manager
2. Select Website for which you need to modify permissions
3. Go to Basic Settings and see which application pool you're using.
4. Go to Application pools and find application pool from #3
5. Find system account used for running this application pool (Identity column)
6. Navigate to your storage folder in IIS, select it and click on Edit Permissions (Right Click on your web server)
7. Open security tab and add needed permissions only for user you identified in #3
If you see ApplicationPoolIdentity in #3 you need to reference this system user like this IIS AppPool{application_pool_name} . For example IIS AppPool\DefaultAppPool