Serveur Internet sous Windows

whooploafSoftware and s/w Development

Dec 13, 2013 (3 years and 8 months ago)

98 views

Serveur Internet sous Windows
NT

Eric Lapaille

eric@netline.be

(c) 1996

Votre réseau

Clients

The Internet

serveurs Web

Wide Area Bandwidth

Generation

Speed

Technology

Application

14.4

28.8

Modem, SVD

Text great,

Pictures OK

Narrowband

(Today)

100
-
400

ISDN,

PC cable

modem

Pictures great,

Video OK

Midband

(1
-
2 years)

Broadband

(2+ years)

1500+

ATM

Video great

(k
-
baud/sec.)

Serveurs de données et le Web


Mainframe

DB/2

SNA


Server

Internet

Information

Server




Report

file

<HTML>

<HEAD>


<A HREF=“http:/starsql.idc?”>


Run query</A>

<A HREF=“ftp://user@host.lu/reportFile”>


Retrieve Report</A>

ODBC/

DRDA

FTP/

AFTP

Navigateur Web

Internet

Web Server Functionality

Web browser 1

Files

Web browser
n

Server side

Client side

HTTP

Web

server

Web server

CGI

Perl

Web browser

client

Perl scripts

Simple

applications

Process

Process

HTTP

Any EXEcutable

Web Server Extensibility

CGI (Common Gateway Interface)

HTTP And CGI/ISAPI

Client

WinInet/library

Sockets

Network (IP stack)

Network (IP stack)

Sockets

CGI/ISAPI

Server

Client

Server

HTTP “GET”

ActiveX Server

Framework Run time

Volcano

Page

Processes

Page

Invokes Server

Control

Ad

Rotator

HTTP response

Internet Information Server
Components


FTP, Gopher, HTTP (WWW) publishing services


Internet Explorer for Windows
®

3.x, Windows NT

,
and Windows 95


Online product tour, documentation, and samples


Support for industry
-
standard extension mechanisms:
CGI, ISAPI


Internet Database Connector


Internet Service Manager administration application

Internet Information Server
Advanced Features


Virtual directories


Virtual servers


Log to File, Log to Database


Internet Server API


Internet Database Connector


Grant/deny client
-
computer access


Limit network use


SSL

Internet Server API (ISAPI)


Creating Active Servers


Industry
-
standard Web server extensions: Active
Servers


High
-
performance (in
-
process)


Maintain state between requests


ActiveX


Server applications (ISAPI)

offer forms processing, gateways,

dynamic content


ActiveX Filters (ISAPI) offer request
monitoring, statistics gathering, custom
authentication, custom request processing, data
translations

Windows NT Integration


Security


User Manager/user
-
level access control


File Manager/file and directory access control


Challenge/response authentication protocol


Monitoring


Performance Monitor


SNMP


Event Viewer


Publish content on network “shares”

Internet Information Server
Architecture

ATQ

File open

cache

Internet

Service Manager

RPC

Windows Sockets

CGI

ISAPI

Microsoft SQL Server,

Microsoft Access,

ORACLE...

Internet server

Gopher

service

FTP

service

HTTP

service

Filters

TransmitFile

TCP/IP

wininet.dll

Client

application

Batch, Perl,

etc. scripts

Client

application

IDC

Resources


SSL Certificates:
http://www.verisign.com/Microsoft/index.html


Perl 5 and ISAPI Perl:
http://www.perl.hip.com


ISAPI specifications:
http://www.microsoft.com/intdev/inttech/isapi.htm



Internet Information Server info:

http://www.microsoft.com/infoserv


Windows NT Resource Center:
http://www.bhs.com

CGI Application (1 Of 2)

Web

server

URL

http://webserver/scripts/my_app.exe?parameters

my_app.exe

(CGI application)

Possible use of any

running service; e.g.,

Microsoft

SQL Server

on Windows

NT

(on the same or any

networked machine)

Other process

Launched

process

Do whatever

server work

my_app does

CGI Application (2 Of 2)


Why:

Designed to extend servers

beyond simple HTML file serving


What:

Uniform way to extend servers.

CGI applications take input from command
line, stdin, and environment variables, and

respond via stdout


Why not?

One new process per request



High overhead



Scales poorly



No provision for state retention


Reference:
http://hoohoo.ncsa.uiuc.edu/cgi/

Filter APIs

Application APIs

Windows

NT Server,

Internet Information Server

CGI

perl.dll

Web

browser

Scripts,

e.g., Perl

Simple

application

ActiveX Server

filters

ActiveX

Server

applications

Perl

scripts

Internet

database

connector

(IDC)

ActiveX Server: ISAPI

ISAPI DLL

Windows

NT Server,

Internet Information Server

URL

http:// webserver/scripts/ my_app.dll?parameters

my_app.dll

(active server

application)

Possible use of any

running service;

e.g., SQL Server on

Windows

NT

(on the same or any

networked machine)

Other process

Do whatever

server work

my_app does

Throughput megabits/second

(100% API)


Megabits

per second

0

1

2

3

4

5

6

Connections/second

(100% API)

0

20

40

60

80

100

Connections

per second

Performance: ISAPI Versus CGI

WebStone 1.1:

Internet Information Server

ISAPI versus CGI

ISAPI

CGI

Custom ISAPI

Extensions

ActiveX server framework run time

Process isolation, user tracking, application state management

ActiveX
server
objects

ActiveX server
scripting

Internet
Database
Connector

Microsoft
Exchange

Web Connector

Windows NT Server, Internet Information Server

Transport, security, and management

Static content

(e.g., HTML)

Microsoft
Exchange

Custom applications,
legacy systems, etc.

Active content
(e.g., databases)

ISAPI

“Viper”
-

transaction processing, coordination, scalability

The ActiveX Server

Filter APIs

Internet

Information

Server

Internet

database

connector

Application APIs

CGI

perl.dll

Web

browser

Perl scripts

Simple

applications

ActiveX Server

filters

ActiveX

Server

applications

ActiveX Server Programming:
ISAPI

Microsoft Exchange

Web Connector

Web connector

http://www.company.com/scripts/webex.dll/

Internet

Microsoft Exchange

Server

MAPI

ISAPI

Internet Information Server

Web browser

San Francisco

New York

Public

network

Secure pipe

Application Session Security

Web client

Web

server


Secure transport


Connection/session
-
oriented


Application
-
independent
-

Web, FTP, Telnet

?

Questions