Download Serveur Internet sous Windows NT

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Serveur Internet sous Windows
NT
Eric Lapaille
[email protected]
(c) 1996
The Internet
Clients
serveurs Web
Votre réseau
Wide Area Bandwidth
Generation Speed Technology
Application
(k-baud/sec.)
Narrowband
(Today)
Midband
(1-2 years)
Broadband
(2+ years)
14.4
28.8
Modem, SVD
100-400
ISDN,
PC cable
modem
1500+
ATM
Text great,
Pictures OK
Pictures great,
Video OK
Video great
Serveurs de données et le Web
Mainframe
SNA
Server
Internet
Information
Server
Navigateur Web
Internet
FTP/
AFTP
DB/2
Report
file
ODBC/
DRDA
<HTML>
<HEAD>
<A HREF=“http:/starsql.idc?”>
Run query</A>
<A HREF=“ftp://[email protected]/reportFile”>
Retrieve Report</A>
Web Server Functionality
Client side
Server side
Web browser 1
Web
server
HTTP
Web browser n
Files
Web Server Extensibility
CGI (Common Gateway Interface)
Process
Perl
Simple
applications
Any EXEcutable
CGI
Perl scripts
Process
Web server
HTTP
Web browser
client
Server
CGI/ISAPI
Sockets
Client
WinInet/library
Sockets
Network (IP stack)
Network (IP stack)
HTTP And CGI/ISAPI
Server
Client
HTTP “GET”
HTTP response
ActiveX Server
Framework Run time
Processes
Invokes Server
Page
Control
Volcano
Page
Ad
Rotator
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
VirtualAdvanced
directories Features
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
• Industry-standard
Web
serverServers
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
Internet server
ATQ
File open
cache
IDC
Microsoft SQL Server,
Microsoft Access,
ORACLE...
ISAPI
HTTP
service
CGI
Batch, Perl,
etc. scripts
Gopher
service
FTP
service
Filters
TransmitFile
Windows Sockets
RPC
TCP/IP
Internet
Service Manager
wininet.dll
Client
application
Client
application
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)
URL
http://webserver/scripts/my_app.exe?parameters
Launched
process
Do whatever
server work
my_app does
Other process
Web
server
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)
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/
ActiveX Server: ISAPI
Internet
database
connector
(IDC)
Perl
scripts
perl.dll
ActiveX
Server
applications
Scripts,
e.g., Perl
Simple
application
CGI
Application APIs
Windows NT Server,
Internet Information Server
Filter APIs
ActiveX Server
filters
Web
browser
ISAPI DLL
URL
http:// webserver/scripts/ my_app.dll?parameters
Do whatever
server work
my_app does
Other process
Windows NT Server,
Internet Information Server
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)
Performance: ISAPI Versus CGI
WebStone 1.1:
Internet Information Server
ISAPI versus CGI
Connections/second
(100% API)
100
Throughput megabits/second
(100% API)
6
5
4
3
2
1
0
80
60
40
20
0
Connections
per second
Megabits
per second
ISAPI
CGI
The ActiveX Server
Static content
(e.g., HTML)
Active content
(e.g., databases)
Microsoft
Exchange
Custom applications,
legacy systems, etc.
“Viper” - transaction processing, coordination, scalability
ActiveX server framework run time
Process isolation, user tracking, application state management
ActiveX
server
objects
ActiveX server
scripting
InternetCustom ISAPI
Microsoft
Database Extensions
Exchange
Connector
Web Connector
ISAPI
Windows NT Server, Internet Information Server
Transport, security, and management
ActiveX Server Programming:
ISAPI
Internet
database
connector
perl.dll
ActiveX
Server
applications
Application APIs
Simple
applications
CGI
Perl scripts
Internet
Information
Server
Filter APIs
ActiveX Server
filters
Web
browser
Microsoft Exchange
Web Connector
Web browser
Internet
http://www.company.com/scripts/webex.dll/
Internet Information Server
Microsoft Exchange
Server
ISAPI
Web connector
MAPI
Application Session Security
Web client
San Francisco
Web
server



New York
Public
network
Secure pipe
Secure transport
Connection/session-oriented
Application-independent - Web, FTP, Telnet
Questions
?
Related documents