Which account is used when a user navigates to a ASP.NET website?
问题 When a user browses to a ASP.NET website, is the user impersonating the ASPNET account or the account specified in IIS->Directory Security->Account used for anonymous access (EX: IUSR_XXX ) My website writes files to the disk and I was wondering which of these accounts need write access to the folder? Also, can someone explain how the impersonate element in the web.config ties into all this? Thanks! 回答1: If impersonation is enabled in an ASP.NET application then: If anonymous access is