Skip to main content
InSource Solutions

TN 106 Giving the ASP.Net user permissions to create folders and write to a web server

insource logo large.jpg

 

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

Capture.JPG


2. Select Website for which you need to modify permissions

 

Capture2.JPG
 

3. Go to Basic Settings and see which application pool you're using.

 

Capture2.JPG


4. Go to Application pools and find application pool from #3

 

Capture4.JPG


5. Find system account used for running this application pool (Identity column)

 

Capture5.JPG


6. Navigate to your storage folder in IIS, select it and click on Edit Permissions (Right Click on your web server)

 

Capture6.JPG


7. Open security tab and add needed permissions only for user you identified in #3

 

Capture7.JPG


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

 

Capture8.JPG