Year End Sale: Get Upto 40% OFF on Live Training! Offer Ending in
D
H
M
S
Get Now
Internet Information Service Architecture

Internet Information Service Architecture

26 Aug 2022
Intermediate
11.2K Views
3 min read

IIS Architecture

IIS has two main layers - Kernel Mode and User Mode. The Kernel Mode contains the HTTP.SYS and User Mode contains WAS and W3 service. The subsection of both are shown in fig.

IIS Architecture

The above diagrams shows the flow of an HTTP request in process. The request-processing flow is described as:

  1. An HTTP request first goes to HTTP.sys and now, HTTP.SYS is responsible for passing the request to a particular application pool.

  2. HTTP.sys contacts to WAS and WAS requests configuration information from the xml file.

  3. The configuration information is sent to WWW service receives.

  4. The WWW service uses the configuration information to configure HTTP.sys.

  5. Configured HTTP.sys contacts to WAS and now, WAS starts a worker process for the application pool to which the request was made.

  6. The worker process processes the request and returns a response to HTTP.sys. The request is passed through an ordered series of module in the processing pipeline.

Role of HTTP.sys in IIS

HTTP.SYS is the part of kernel mode of IIS. Every client request is passes through the kernel mode, Http.sys then makes a queue for each and individual application pool based on the request. Whenever we create any application pool IIS automatically registers the pool with HTTP.sys to identify the particular during request processing. It provides the following services in IIS:

  1. Routing HTTP requests to the correct request queue.

  2. Caching of responses in kernel mode.

  3. Performing all text-based logging for the WWW service.

  4. Implementing quality of service functionality, which includes connection limits, connection timeouts, queue-length limits, and bandwidth throttling.

ISAPI Filter

ISAPI filters are DLL files that can be used to modify and enhance the functionality provided by IIS. ISAPI filters always run on an IIS server, filtering every request until they find one they need to process.

ISAPI filters can be registered with IIS to modify the behavior of a server. It can perform the following tasks:

  1. Change request data (URLs or headers) sent by the client

  2. Control which physical file gets mapped to the URL

  3. Control the user name and password used with anonymous or basic authentication

  4. Modify or analyze a request after authentication is complete

  5. Modify a response going back to the client

  6. Run processing when a request is complete

  7. Run processing when a connection with the client is closed

  8. Perform special logging or traffic analysis.

  9. Handle encryption and compression.

Different Security Settings Available in IIS

IIS provides a variety of authentication schemes:

  1. Anonymous (enabled by default)

  2. Basic

  3. Digest

  4. Integrated Windows authentication (enabled by default)

  5. Client Certificate Mapping

Set the Session Time Out in IIS

Follow the steps as shown in below diagram.

Step 1:

Set Time Out in IIS Step1

Step 2:

Set Time Out in IIS Step2
What do you think?

I hope now you have better understanding about IIS architecture. Your valuable feedback, question, or comments about this article are always welcome.

Share Article
About Author
Shailendra Chauhan (Microsoft MVP, Founder & CEO at ScholarHat)

Shailendra Chauhan, Founder and CEO of ScholarHat by DotNetTricks, is a renowned expert in System Design, Software Architecture, Azure Cloud, .NET, Angular, React, Node.js, Microservices, DevOps, and Cross-Platform Mobile App Development. His skill set extends into emerging fields like Data Science, Python, Azure AI/ML, and Generative AI, making him a well-rounded expert who bridges traditional development frameworks with cutting-edge advancements. Recognized as a Microsoft Most Valuable Professional (MVP) for an impressive 9 consecutive years (2016–2024), he has consistently demonstrated excellence in delivering impactful solutions and inspiring learners.

Shailendra’s unique, hands-on training programs and bestselling books have empowered thousands of professionals to excel in their careers and crack tough interviews. A visionary leader, he continues to revolutionize technology education with his innovative approach.
Accept cookies & close this