[IIS | 用户权限] Connect as... 的设置

ApplicationPoolIdentity is actually the best practice to use in IIS7. It is a dynamically created, unprivelaged account. To add file system security for a particular application pool see IIS.net's "Application Pool Identities". The quick version:

If you application pool is named "DefaultAppPool" (just replace this text below if it is named differently)

  1. Open Windows Explorer
  2. Select a file or directory.
  3. Right click the file and select "Properties"
  4. Select the "Security" tab
  5. Click the "Edit" and then "Add" button
  6. Click the "Locations" button and make sure you select your machine. (Not the Windows domain if the server belongs to one.)
  7. Enter "IIS AppPoolDefaultAppPool" in the "Enter the object names to select:" text box. (Don't forget to change "DefaultAppPool" here to whatever you named your application pool.)
  8. Click the "Check Names" button and click "OK".

以上黑体字改成 IIS AppPool.NET v4.5 Classic 即为 ASP.NET 的权限。

原文地址:https://www.cnblogs.com/lionetchen/p/4028725.html