Create the IIS6.0 user isolation mode FTP site

Source: Internet
Author: User
Tags anonymous ftp ftp site iis log window file transfer protocol access
iis| Create | Site for your convenience, the FTP site that you have established not only allows anonymous users to access, but also enables read and write permissions on the home directory. As a result, anyone can read and write without constraint, and it is inevitable that a mess will occur. If you use IIS 6.0, you can effectively resolve this problem by simply creating a ' user Isolation ' FTP site.

Quarantine user is IIS 6. A new feature of the FTP component contained in 0. An FTP site configured in user isolation mode allows a user to log in directly into a directory belonging to that user, and the user cannot view or modify the other user's directory.

Create user account First, some user accounts are created for FTP users in the Windows Server 2003 server where the FTP site resides so that they can log on to the FTP site using these accounts. The procedure is described as follows:

The 1th step is to right-click My computer on the desktop and execute the Manage command on the shortcut menu that pops up.

Step 2nd Open the Computer Management window and expand the Local Users and groups directory in the left pane. Then open the New User dialog box by right-clicking the Users folder in the expanded directory, and executing the new user command on the pop-up shortcut menu.

Step 3rd Type the user name (such as "Xiaowei") and password in the relevant edit box, cancel the "user must have this password at next logon" option and check "users cannot be more than this password" and "Password Never Expires", and then click the Create button (Figure 1).

The 4th step then pops up the next New User dialog box, adding several users as needed. Click the Close button when you are finished creating it.

Planning the directory structure after creating some user accounts, another key action was started: Planning the folder structure (in other cases, creating folders).

Why is it important to create a folder because the FTP site that created the user isolation mode has certain requirements for the name and structure of the folder. You must first create a folder in an NTFS partition as the home directory for the FTP site (such as "cceftp"), and then create a subfolder named "LocalUser" under the "Cceftp" folder, and finally the "LocalUser" Folder to create several personal folders that correspond to user account one by one.

Also, if you want to allow users to log on to the FTP site in user isolation mode anonymously, you must create a folder named "Public" under the "LocalUser" folder. This allows anonymous users to log in to the public folder for read and write operations (Figure 2).

Tip: The subfolder name under the home directory of the FTP site must be "LocalUser", and the user folder created under it must use exactly the same name as the associated user account, otherwise you will not be able to log on using that user account.

Installing the FTP component FTP sites that create user isolation mode in Windows Server 2003 require the support of IIS 6.0, but the IIS 6.0 component is not installed by default, so it is easy to talk about how to manually install IIS 6.0 components.

Step 1th in Control Panel, double-click the Add or Remove Programs icon to open the Windows Components Wizard dialog box by clicking the Add/Remove Windows Components button in the open Add or Remove Programs dialog box.

Step 2nd in the Components list, locate and double-click the Application Server check box to open the Internet Information Services (IIS) dialog box by double-clicking the Internet Information Services (IIS) option in the Open Application Server dialog box. Locate and check the File Transfer Protocol (FTP) service checkbox in the subassembly list and click the OK/OK/Next button to begin the installation. Finally, click the Finish button to end the installation process (Figure 3).

Tip: You need to insert a Windows Server 2003 installation CD or specify an installation source file during Setup.

Create an FTP site all the preparations are complete, followed by the core of the reader's concern: Creating an FTP site in user isolation mode. The specific setup steps are described below:

The 1th step opens the Internet Information Services (IIS) Manager window by clicking Start/Administrative Tools/internet Information Services (IIS) Manager. Right-click the FTP site option in the left pane, execute the new/ftp site command on the pop-up shortcut menu, open the FTP Site Creation Wizard Wizard page, and click Next.

Step 2nd Type A line of descriptive language (such as "cceftp") in the Open FTP Site Description Wizard page, and click the Next button.

Step 3rd to open the IP address and Port Settings Wizard page, select an IP address to access the FTP site in the Enter the IP address to use for this FTP site drop-down menu. The port remains the default "21" and the Next button is clicked.

Step 4th Select the Quarantine Users Radio box in the Open FTP User Isolation Wizard page and click the Next button (Figure 4).

Step 5th Open the FTP Site Master Directory Wizard page, click the Browse button to locate the Cceftp folder that you created beforehand, and then click the OK/Next button.

Step 6th Select the Write check box in the Open FTP Site Access Permission Wizard page, and then click the next/Complete button to complete the creation.

Log on to the FTP site I saw the site was created, can't wait to come to a computer next to the user "Xiaowei" the identity of the successful login, and in the directory to create a new document. To verify that the document you created is really in a folder named "Xiaowei", the author deliberately opens the "Xiaowei" folder under the "LocalUser" folder in the Windows Server 2003 server, where you see the document you just created. There is no doubt that the setting is successful.

Tip: User logon is divided into two situations: if you are logged on as an anonymous user, you can only read and write in the public directory after a successful logon, or if you are logged on as a valid user, the user can only read and write in their own directory and cannot see the other user's directory and Public "directory.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.