asp.net web.config impersonation vs application pool identity
问题 If I impersonate a user in the web.config but the application runs under an application pool which uses another identity, which identity would be used when you access resources (say files) on the server? Another question, can you run a page under a separate identity from rest of the application? 回答1: When you access resources on the server the user will be the one specified on the impersonation configuration NOT the one on the application pool Impersonation enabled for a specific identity. In