Sie sind auf Seite 1von 3

This step-by-step article describes how to set up a Web server for anonymous access in a Windows Server 2003 environment.

Install Internet Information Services Microsoft Internet Information Services (IIS) is the Web service that is integrated with Windows Server 2003. To install IIS, add optional components, or remove optional components, follow these steps: 1. Click Start, point to Control Panel, and then click Add or Remove Programs. The Add or Remove Programs tool starts. 2. Click Add/Remove Windows Components. The Windows Components Wizard appears. In the Windows Components list, click Application Server, but do not select the check box. Click Details, and then click to select the Internet Information Services (IIS) check box. Click Details to view the list of IIS optional components. Select the optional components that you want to install. By default, the following components are selected: Common Files Internet Information Services Manager World Wide Web Service Click World Wide Web Service (but do not clear the check box), and then click Details to view the list of IIS optional subcomponents, such as the Remote Administration (HTML) Tool. Select the optional subcomponents that you want to install. By default, the following component is selected: World Wide Web Service Click OK, click OK, click OK, and then click Next to install the selected components. Click Finish to complete the Windows Components Wizard, and then close the Add or Remove Programs dialog box.

3. 4. 5. 6.
o o o

7.
o

8. 9.

Configure Anonymous Authentication To configure anonymous authentication, follow these steps: 1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager. 2. Under ComputerName (local computer) (where ComputerName is the name of the server), right-click Web Sites, and then click Properties. 3. In the Web Sites Properties dialog box, click the Directory Security tab. 4. Under Authentication and access control, click Edit. 5. Click to select the Enable anonymous access check box (if it is not already selected). Note The user account in the User name box is used for anonymous access only, through the Windows guest account. By default, the server creates and uses the account IUSR_ComputerName. The anonymous user account password is used only by Windows. Anonymous users do not log on by using a user name and password. 6. Click OK two times. Basic Web Site Configuration 1. 2. 3. 4. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager. Under ComputerName (local computer), expand Web Sites. Right-click Default Web Site, and then click Properties. Click the Web Site tab. If you have multiple IP addresses assigned to your computer, click the IP address that you want to assign to this Web site in the IP Address list.

5. Click the Performance tab. Use these options to set the Web site properties that affect memory, bandwidth use, and the number of connections to the Web site. By configuring network bandwidth on a particular site, you can better control how much traffic there is at that site. For example, by restricting bandwidth on a lower-priority Web site, you can restrict bandwidth to allow increased access to other sites. Likewise, when you specify the number of connections to a Web site, you free resources for other sites. Settings are site-specific and you can adjust them as network traffic and use changes. Click to select the Limit the network bandwidth available to this Web site check box to configure IIS to throttle network bandwidth to the amount selected in the Maximum bandwidth (in kilobytes per second) box. Under Web site connections, click Unlimited to permit unlimited client connections to this Web site, or click Connections limited to and enter the number of connections you want to limit this Web site to. Limiting connections permits computer resources to be used for other processes.

o o

Note Each client that browses the Web site typically uses about three connections. 6. Click the Home Directory tab. o If you want to use Web content that is stored on the local computer, click A directory located on this computer, and then type the path that you want in the Local path box. For example, the default path is C:\Inetpub\wwwroot.
o o

7. a. b. c.

Note For added security, do not create Web content folders in the root folder. If you want to use Web content that is stored on a different computer, click A share located on another computer, and then type the location that you want in the Network directory box that appears. If you want to use Web content that is stored on another Web address, click A redirection to a URL, and then type the location that you want in the Redirect to box. Under The client will be sent to, click to select the appropriate check box. Click the Documents tab. Note the list of documents that IIS can use as the default start document. If you want to use Index.html as your start document, you must add it. To do this, follow these steps: Click Add. In the Default content page box, type Index.html, and then click OK. Click the Move Up button until Index.html is displayed at the top of the list. Click OK to close the Default Web Site Properties dialog box. Right-click Default Web Site, and then click Stop. Right-click Default Web Site, and then click Start.

The server is now configured to accept incoming Web requests to the default Web site. You can replace the content of the default Web site with the Web content that you want, or you can create a new Web site.

Install Internet Information Services and the FTP Service


Because FTP depends on Microsoft Internet Information Services (IIS), IIS and the FTP Service must be installed on the computer. To install IIS and the FTP Service, follow these steps. NOTE: In Windows Server 2003, the FTP Service is not installed by default when you install IIS. If you already installed IIS on the computer, you must use the Add or Remove Programs tool in Control Panel to install the FTP Service. 1. Click Start, point to Control Panel, and then click Add or Remove Programs. 2. Click Add/Remove Windows Components. 3. In the Components list, click Application Server, click Internet Information Services (IIS) (but do not select or clear the check box), and then click Details. 4. Click to select the following check boxes (if they are not already selected):

Common Files File Transfer Protocol (FTP) Service Internet Information Services Manager 5. Click to select the check boxes next to any other IIS-related service or subcomponent that you want to install, and then click OK. 6. Click Next. 7. When you are prompted, insert the Windows Server 2003 CD-ROM into the computer's CD-ROM or DVD-ROM drive or provide a path to the location of the files, and then click OK. 8. Click Finish. IIS and the FTP service are now installed. You must configure the FTP Service before you can use it. Back to the top

Configure The FTP Service


To configure the FTP Service to allow only anonymous connections, follow these steps: 1. 2. 3. 4. 5. 6. Start Internet Information Services Manager or open the IIS snap-in. Expand Server_name, where Server_name is the name of the server. Expand FTP Sites Right-click Default FTP Site, and then click Properties. Click the Security Accounts tab. Click to select the Allow Anonymous Connections check box (if it is not already selected), and then click to select the Allow only anonymous connections check box. When you click to select the Allow only anonymous connections check box, you configure the FTP Service to allow only anonymous connections. Users cannot log on by using user names and passwords. Click the Home Directory tab. Click to select the Read and Log visits check boxes (if they are not already selected), and then click to clear the Write check box (if it is not already cleared). Click OK. Quit Internet Information Services Manager or close the IIS snap-in.

7. 8. 9. 10.

The FTP server is now configured to accept incoming FTP requests. Copy or move the files that you want to make available to the FTP publishing folder for access. The default folder is drive:\Inetpub\Ftproot, where drive is the drive on which IIS is installed.