Identity of IIS Application IDENTITIES-IIS6 programs

Source: Internet
Author: User
Tags anonymous iis thread win32
The application|iis| program |application|iis recently debugged an ISAPI extension that needs to know 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 authority\network SERVICE" account. (thread impersonates the NT authority\network 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 authority\network 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.



Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.