The most recent debugging of an ISAPI extension requires knowing the identity of processes and threads. The knowledge that is learned.
MSDN Original: IIS application identities.
ISAPI extensions (including ASP, ASP.net, because both Asp.dll and Aspnet_isapi.dll are ISAPI extensions):
The identity of the process (Process,w3wp.exe):
1. In anonymous access mode, use IUSR_computer_name account.
2. Non-anonymous way to use the identity of a certified customer.
The identity of Threads (thread):
1. Win32 RevertToSelf has not been invoked, as is the process identity.
2. Win32 RevertToSelf was invoked, and in IIS6 worker process isolation mode, the thread disguised as an "NT authoritynetwork SERVICE" account. (thread impersonates the NT authoritynetwork SERVICE account).
In fact, this account can be set in "Application Pools".
If you create a new thread (_beginthread ()) in your thread, the new thread runs under the NT authoritynetwork SERVICE account.
In IIS6, each website and virtual directory can be individually set application settings to a separate application Pool. Each application Pool is in a separate w3wp.exe process.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.