IIS AppPoolIdentity and file system write access permissions

前端 未结 4 897
温柔的废话
温柔的废话 2020-11-22 15:51

Here\'s an issue with IIS 7.5 and ASP.NET that I\'ve been researching and getting nowhere with. Any help would be greatly appreciated.

My question is: using ASP.NET

4条回答
  •  南笙
    南笙 (楼主)
    2020-11-22 16:24

    Each application pool in IIs creates its own secure user folder with FULL read/write permission by default under c:\users. Open up your Users folder and see what application pool folders are there, right click, and check their rights for the application pool virtual account assigned. You should see your application pool account added already with read/write access assigned to its root and subfolders.

    So that type of file storage access is automatically done and you should be able to write whatever you like there in the app pools user account folders without changing anything. That's why virtual user accounts for each application pool were created.

提交回复
热议问题