project report microsoft internet information server group 4 javier ek, jimmy phung, ben lee, tom...

92
Project Report Project Report Microsoft Internet Microsoft Internet Information Server Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

Upload: justin-mills

Post on 24-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

Project ReportProject ReportMicrosoft Internet Information Microsoft Internet Information

ServerServerGroup 4

Javier Ek, Jimmy Phung, Ben Lee, Tom Truong

CIS 454- FALL QUARTER 1999

Page 2: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

Internet Information ServerInternet Information ServerGroup 4Group 4

Overview -Jimmy Phung

Installation - Tom Truong

Troubleshooting TCP/IP - Benjamin Lee

Web Applications -Javier Ek

Page 3: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 3

What is a Microsoft Internet What is a Microsoft Internet Information Server? Information Server?

It is Microsoft’s Web server that allows for the management of Web-related applications, files and data.

Page 4: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 4

What is a Web Server?What is a Web Server?

A Web server is a specialized program that uses the client/server model and the World Wide Web's Hypertext Transfer Protocol (HTTP) to present files in the form of Web pages to the users.

– Source: www.whatis.com

Page 5: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 5

Example of the Use of a Web Example of the Use of a Web Server Server

When we type in: www.calstatela.edu/ats/cbt.htm, we are directed to the web server with the domain name www.calstatela.edu.

The web server then finds the ats directory and the cbt.htm file. It then forwards the file directly back to us.

Page 6: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 6

Uses of the Internet Uses of the Internet Information Server (Examples)Information Server (Examples)

Corporate workgroups using intranetsCorporate partners using extranetsCustomers logging on to a Web site

Page 7: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 7

Where can you find the Where can you find the Microsoft Internet Information Microsoft Internet Information

Server? Server? The Internet

Information Server is found in the Microsoft Option Packs

All NT Servers shipped after January 1998 come with Internet Information Sever

Page 8: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 8

How Much Does the Internet How Much Does the Internet Information Server Cost?Information Server Cost?

FREE You can download it

form the Microsoft Web site

Tom will tell you how

Page 9: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 9

Where Can You Install Where Can You Install Internet Information Server?Internet Information Server?

Windows 95Windows 98Windows NT WorkstationWindow NT Server

Page 10: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 10

Features of the Internet Features of the Internet Information ServerInformation Server

Setup and Management– Use the Graphical User Interface (GUI)– Easy to learn; relatively short learning curve

Page 11: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 11

Features of the Internet Features of the Internet Information Server Information Server

Building Web sites– Integrates fully with Microsoft Front Page,

which allows for the creation of Web pages– Contain assorted Web-building Wizards– Facilitates the development of Active Server

Pages (ASP), which allow the creation of active and interactive Web pages.

VB Scripts in HTML file Java Scrips in HTML file

Page 12: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 12

Features of the Internet Features of the Internet Information ServerInformation Server

Support the writing of web-based applications that access databases– Integrate fully with Microsoft SQL Server,

which facilitates the the manipulation of databases

– ODBC driver support

Page 13: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 13

Features of the Internet Features of the Internet Information ServerInformation Server

Security– Prohibit access by user and group using

passwords

– Prohibit access to directories and files

Page 14: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 14

Features of the Internet Features of the Internet Information ServerInformation Server

Security Continued -– Security rules– Security rules can be based on URLs

– Can hide part of a document based on security rules

– Can change user access control list without restarting server

– Supports Secure Socket Layer (SSL) v. 2 and v. 3

Page 15: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 15

Features of the Internet Features of the Internet Information ServerInformation Server

Reliability– Each Internet applications running on the

Internet Information Server can run on a separate memory space

– When one application crashes, it will not crash the whole system. Only the affected application crashes, the server and the other applications keep on working

Page 16: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 16

Features of the Internet Features of the Internet Information ServerInformation Server

Reliability Continued– Contains Integrated Message Queuing, which

provides a way for applications to send and receive messages over a network - even when part of the application or the network becomes unavailable. This increases reliability.

Page 17: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 17

Features of the Internet Features of the Internet Information ServerInformation Server

Scripting support– Script debugging, which helps debug ASP

scripts

– Supports JAVA

Page 18: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 18

Features of the Internet Features of the Internet Information ServerInformation Server

Web Management– Programmable Management Console– Ability to customized management tools– Browser-Based Administration – Remote administration – GUI interface/command line interface– Has the Configuration Rollback feature, which helps to

bring the server back to previously saved configurations.

Page 19: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 19

Minimum RequirementsMinimum Requirements

80x86-Based Computers– 486 Computer– 66 MHz

RAM– 32 Meg Ram minimum– 64 Meg highly recommended

Hard Disk– 200 Meg of free space

Page 20: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Jimmy Phung 20

Minimum RequirementsMinimum Requirements

Internet Explorer 4.0Windows 95, Windows 98, Windows NT

Workstation or Window NT ServerService Pack 3 or later for NT

Page 21: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 21

IIS Installation ProcessIIS Installation Process There are a number of ways to install IIS 4.0. You can download the Windows

NT Option Pack from the Internet, or your can install it from CD.

To download the Option Pack from the Internet, you use the URL shown here: http://backoffice.microsoft.com/downtrial/optionpack.asp

To install the Option Pack from the CD, you insert the CD in the drive and run the appropriate setup.exe.

Page 22: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 22

Page 23: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 23

Page 24: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 24

Page 25: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 25

• The minimum installation program is designed to conserve disk space on your system.

• The typical installation installs all the components of IIS included in the minimum installation. In addition, it installs the rest of the optional IIS components. Included in the typical installation is the FTP service, the Internet Service Manager (HTML), and help on server administration, content management, and content development.

• The custom installation allows you to choose which IIS components you want on the computer, apart from the components that are required and selected by default.

• Let’s choose the Custom installation, which allows you to select any combination of components in addition to the IIS component that is required to run the IIS server.

Page 26: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 26

Page 27: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 27

Page 28: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 28

Page 29: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 29

Page 30: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 30

Page 31: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 31

Page 32: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 32

Page 33: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 33

Page 34: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 34

Page 35: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 35

Page 36: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 36

Page 37: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 37

Page 38: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 38

Page 39: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 39

Page 40: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 40

Page 41: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 41

Page 42: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Tom Truong 42

•If you are using IIS on an intranet, you can copy the unattend.txt file from the Option Pack CD to a folder on the local computer (The unattend.txt file is located on the CD in the CPU_Type/inetsrv/directory, where CPU_Type is the processor on the computer where IIS will be installed.) This file allows you to perform unattended installations from that folder. This is useful for performing installations without having to remain at the computer and step through the installation options.

• To start the unattended setup, you either place the CD in the CD drive, or make a network connection to the CD drive containing the Option Pack CD. You then copy unattend.txt to your local hard disk and make any necessary changes to install the appropriate components.

• At a command prompt, you change to the folder on the CD containing setup.exe, then enter the following path: setup/u:<full path to Unattend.txt>. For example, if the file located in the temp directory on the C drive, you type: setup/u:c:\temp\unattend.exe

Page 43: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 43

TROUBLESHOOTING

TCP/IP

Page 44: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 44

Presentation ObjectivesPresentation Objectives

Identify some of the problems which may arise in a network that uses TCP/IP as its communication protocol

Explain the utilities that are available for troubleshooting TCP/IP

Page 45: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 45

TCP/IP ProblemsTCP/IP Problems

Configuration of the local computerConnecting to other hosts on the networkRouting problemsNaming resolution errorsSource and destination hosts are trying to

communicate using different protocols

Page 46: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 46

Tools that come with Windows Tools that come with Windows NTNT

Microsoft SNMP ServiceEvent ViewerPerformance MoniterRegistry EditorNetwork Monitor, Agent, and Tools

Page 47: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 47

Utilities used for Utilities used for troubleshooting TCP/IPtroubleshooting TCP/IP

IPConfig Ping Hostname Nbtstat ARP

Tracert Nslookup Netstat Route

Page 48: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 48

IPConfgIPConfg

Display current TCP/IP network configuration values, and update or release TCP/IP network configuration values.

Display IP address, subnet mask, and WINS and DNS configuration.

Page 49: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 49

Page 50: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 50

IPConfg

Page 51: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 51

IPConfg

Page 52: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 52

PingPing

Verify whether TCP/IP is configured correctly and that a remote TCP/IP system is available.

Ensure that a host computer you are trying to reach is actually operating.

Used with a host that is operating to see how long it takes to get a response back.

Page 53: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 53

•Ping sends an ICMP echo request to a target host name or IP address.

Page 54: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 54

•If there is an error message using If there is an error message using your own IP address, view the your own IP address, view the configuration to check and correct it.configuration to check and correct it.

Page 55: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 55

NbtstatNbtstat

Useful tool for solving NetBios name resolution problems

Switch to display the names that were registered locally on the system

Page 56: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 56

NbtstatNbtstat

Page 57: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 57

-a Lists the remote computer's name table given its host name.

-A Lists the remote computer's name table given its IP address

specified in dotted decimal notation.

-c Lists the contents of the NetBIOS name cache, with the

IP address of each name.

-n Lists local NetBIOS names. In this listing, "Registered"

indicates that the name has been registered on this network

node, either by b-node broadcast or by a WINS server.

Page 58: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 58

-R Reloads the LMHOSTS file after purging all names from

the NetBIOS name cache.

-r Lists name resolution statistics for Windows networking.

On a computer configured to use WINS, this option returns the

number of names resolved and registered broadcast or WINS.

-S Displays both workstation and server sessions, listing

the remote hosts by IP address only.

-s Displays both workstation and server sessions.

It attempts to convert the remote host IP address to a name

using the HOSTS file.

Page 59: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 59

NbtstatNbtstat

When adding more than 25 dialout devices under Windows NT 4.0 RAS, the NBTSTAT command will return the following message: – Unable to access NBT driver; Unknown Error

This problem is because NBTSTAT is not reading the entire contents of a registry key.

Page 60: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 60

ARPARP

ARP (Address Resolution Protocol) is a protocol for mapping an Internet Protocol address (IP Address) to a physical machine address that is recognized in the local network.

The most common level of IP in use today, an address is 32 bits long.

Page 61: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 61

How ARP WorksHow ARP Works

When an incoming packet destined for a host machine on a particular local area network arrives at a gateway, the gateway asks the ARP program to find a physical host or MAC address that matches the IP address.

Page 62: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 62

RouteRoute

The route table controls any routing decisions made by the hosts on a network

You can display the route table using the Route Print command.

Page 63: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 63

RouteRoute

Page 64: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 64

TracertTracert

Examine the route between two nodes on a network

Determines the route by sending the first echo packet with a TTL of 1 and incrementing the TTL by 1 on each subsequent transmission until the target responds or the maximum TTL is reached.

Page 65: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 65

TracertTracert

Page 66: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 66

NetstatNetstat

Displays protocol statistics and current TCP/IP network connections.

Syntax : netstat [-a] [-e][n][s] [-p protocol] [-r] [interval]

Page 67: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 67

NetstatNetstat

Page 68: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 68

Page 69: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 69

Page 70: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 70

NslookupNslookup

Lets an Internet server administrator or user enter a host name and find out the corresponding Internet Address. It will also do reverse name lookup and find the host name for an IP address you specify.

Page 71: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Ben Lee 71

NslookupNslookup

For example, if you entered "whatis.com", you would receive as a response our IP address, which happens to be :

199.45.146.176Or if you entered "199.45.146.176", it

would return "whatis.com".

Page 72: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 72

Internet Information Server - Internet Information Server - Web ApplicationsWeb Applications

Group 4

Page 73: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 73

Introduction Introduction

Internet Information Server can be used for interactive applications and scripts for your website.

IIS can be used for CGI Scripts and ISAPI Applications.

Using IIS with ASP pages on a server.

Page 74: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 74

MethodsMethods

CGI(Common Gateway Interface)ISAPI(Internet Server Application Program

Interface)ASP(Active Server Page) ApplicationsSSI(Server Side Includes)

Page 75: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 75

CGICGI

Page 76: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 76

CGICGIWhat is CGI?

Page 77: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 77

CGICGI

Page 78: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 78

CGICGI

CGI script conforms to CGI standards. Scripts or programs can be written in any language

for applications to be executed on a system. These languages can be C++, PERL, Visual Basic,

and NT Batch Files. Programs such as VB and C++ need to be

compiled in order to work. Scripts do not need to be compiled and are much more portable.

Page 79: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 79

CGI – Security IssuesCGI – Security Issues There are several security issues in regards to

CGI. Intruders and hackers can manipulate CGI script

to access sensitive information such as passwords and registry files.

They can also use CGI script to run system commands. This risk can be reduced by having experts write the scripts and keeping them in one single directory with only an administrator access.

Page 80: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 80

CGI - RequirementsCGI - Requirements

To write CGI Scripts a working knowledge of HTML and HTTP protocol is needed.

Page 81: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 81

ISAPI ISAPI What is ISAPI(Internet Server Application

Program Interface)?

Page 82: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 82

ISAPIISAPIApplications that use ISAPI have

executable code that reside in NT DLL(Dynamic Link Library).

There two areas of development are applications and filters.

ISAPI applications are known as Internet Server Applications(ISAs)

Page 83: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 83

ISAPI – How It WorksISAPI – How It Works

Page 84: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 84

ISAPI and CGIISAPI and CGI

Page 85: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 85

Active Server Pages(ASPs)Active Server Pages(ASPs)

Active Server Pages are a scripting environment that overcome the limitations of CGI.

With ASP you can combine HTML, scripts, and text on web pages.

The built-in Active X components can be used to perform dynamic tasks, such as connecting to a database or performing calculations.

Page 86: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 86

ASPASP ASP eliminates the need to learn a full programming language or

compile programs separately. Any scripting language that follows the ActiveX scriting standard such

as Vbscript or Javascript. To use other languages such as PERL, Python, or REXX you need a

separate scripting engine from a third party developer.

Page 87: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 87

ASP PropertiesASP Properties

Page 88: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 88

ASP SecurityASP SecurityASP offers the most security of the three

methods.

Page 89: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 89

ASP AdvantagesASP AdvantagesASP applications are easy to modify and

develop.An ASP file is simply a text file that can

contain HTML tags and embedded script commands.

ASP uses ActiveX Control which are essential to dynamic web pages.

Page 90: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

By Javier Ek 90

SummarySummary

Internet Information Server can be extended to use CGI, ISAPI, and ASP for web applications.

CGI is the most common but ISAPI, and ASP are also used.

ASP offers several advantages over CGI in terms of security, capabilities, and browser compatibility.

Internet Service Manager can be used to specify a starting point directory and to configure your application.

Page 91: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

ReferencesReferences

http://www.pcmagazine.comhttp://www.pcworld.comCBT Courses – IIShttp://www.whatis.comhttp://www.microsoft.com

Page 92: Project Report Microsoft Internet Information Server Group 4 Javier Ek, Jimmy Phung, Ben Lee, Tom Truong CIS 454- FALL QUARTER 1999

Internet Information ServerInternet Information Server

END OF PRESENTATION

Group 4Javier Ek

Jimmy Phung

Tom Truong

Benjamin Lee