Has anyone set up an FTP server? When setting up an FTP server, people usually think that Microsoft's IIS settings are complicated, followed by poor security. This section describes how to use powerful Serv-U to set up an FTP server. Serv-U is a very practical FTP server tool. Although it is small in size, most websites use this program and share software. It can be downloaded from software websites.
Serv-U features
1. Support for Multiple User Access
2. Anonymous Users are supported, and users can be limited at any time.
3. Many Security Options
Security Management Based on directories or files
4. Supports logon to Virtual Multi-Home Directory IP addresses
5. ratio and bandwidth limit
6. Run as a system service
7. Remote Implementation Project
8. remote FTP printing
9. scalability
10. Easy installation and maintenance
11. Multiple Logon Options
12. Quick Serv-U settings
After Serv-U runs, the "Setup Wizard" window appears. Using the Setup Wizard makes the entire setup process very simple.
1. Install as system server (to be installed as a system server): Select "yes ".
2. Allow Anonymous Access (Do You Want To accept anonymous logon): You can select this option as needed.
3. Anonymous home directory (anonymous main directory): enter (or select) A Home Directory dedicated to anonymous user login.
4. lock anonymous users in to their home directory (lock the user in the selected home directory): whether to set the home directory in the previous step as the root directory of the user; Generally, select "yes ".
5. Create named account (do you want to create another account): Check whether a Common Logon user account is created. Select Yes ".
6. Account Login Name (User Login Name): ordinary user account name, for example, enter "anonymous ".
7. Password: Set the password. Because the entered password is displayed in plain text, it is only used once.
8. Home Directory (main directory): enter (or select) The main directory of this user.
9. Lock anonymous users in to their home directory (lock the user in the main directory): Select "yes ".
10. Account admin privilege (Account Management privilege): Generally, the default value "no privilege" is used ).
11. Select "finish" to complete the settings.
Local server attributes
1. Local server: You can set whether to enable the FTP service automatically or manually enable or stop the FTP service.
2. License: security license.
3. Settings: General/MAX. Speed: used to set the maximum transmission rate (kb/s ). General/Max. No. of users: used to set the maximum number of users connected to the server. Other items are related to maintaining server security.
4. Activity: Users: displays information such as the IP address of the currently logged on user and the current working status. We recommend that you select "auto reload" (auto refresh ). If you select a user, right-click it and select "Kill user" to kick it out of the server. Blocked IPS (blocked IP address): This is used to temporarily prohibit some IP addresses from accessing the system. Click "+" on the toolbar to increase the IP addresses that are temporarily forbidden and the total time of Logon prohibition (calculated from the increase ). The list shows the banned IP address, the complete Domain Name of the corresponding computer, and the time (in seconds) to unban the IP address. Right-click the list to delete the prohibited IP addresses.
Session log (System Log): records all operation traces and error messages that log on (or attempt to log on) to the local machine.
Domains (Domain Name) attributes
1.ftp.bbc.com (the selected FTP server name): You can modify the domain name, IP address, and port number.
2. Settings: the IP address that allows or disables logon.
General/Max no. of users (maximum number of users): You can set the maximum number of users allowed to log on to the FTP server at the same time.
IP Access/Deny Access: you can set a list of IP addresses that refuse to log on to the FTP server.
IP Access/Allow access (allowed): You can set a list of IP addresses allowed to log on to the FTP server.
IP Access/rule: Enter the specified IP address or IP address range. Accept a single IP address, such as "192.168.0.88", or accept an IP address range such as "192.168.0.4-192.168.0.11", or accept wildcards such as "192.168.0. *" and "192.168.0.1 ?" And so on. "Add" is "add", and "Remove" is "delete.
Message: Some prompt display information can be changed here, such as "signon message file" (start broadcasting) and "server offline" (the server is not working) and "No anonymos access" (Anonymous logon is not accepted.
3. Activity (activity status): Users (User): displays the user logged on to the server and its status. We recommend that you select "auto reload" (auto refresh ). Domain log (System Log): records all operation traces and error messages that log on (or attempt to log on) to the server.
4. groups (group): A group can be used to create one or more directories that determine attributes (read and write) and control permissions (grant or prohibit access from certain IP addresses) in advance, in the future, when we create new users and need to use these directories, we just need to add them directly. We don't need to repeat the settings. In this case, setting up a group can greatly reduce the setting workload. Create a new group: Select "group" → right-click → "New Group", enter the group name in "group name", and then press "finish.
Account settings
1. Disable account: If this account is selected, it cannot be used.
2. User name: the user name is displayed here and can be changed. After the modification, the user name on the left panel is automatically changed.
3. Group (s): If a group is created, you can select more directories in the group. The directory attributes in these groups are determined when the group is created. You cannot modify these attributes in "dir access. If the group user's home directory is not in the root directory (see 5th below)
4. Password: This item is "<>" (encrypted). It indicates that there is a password, which is confidential, so the content is not displayed. If it is blank, no password is required. If any password is entered, "<>" is displayed ".
5. Home Directory (main directory): In principle, this is the main directory after the user logs on. The actual root directory for user logon is determined by "lock user in home directory" in the "General" attribute. For example, if the path is "D: \ myweb" and the corresponding item in "general" is selected, the main directory and root directory are "D: \ myweb ". For example, if the path is "D: \ myweb" and the corresponding item in "general" is not selected, the main directory is "D: \ myweb", and the root directory is "D: \". Note: It can be modified as needed, but it cannot exceed the range of the disk where "path" is located in "dir access". Otherwise, you will not be able to see anything after logon.
6. Notes: This item is used to mark descriptive text.
General settings
1. lock user in Home Directory (lock the user in the main directory): if selected, only the user is allowed to access the files and directories below the "main directory" (the main directory is the root directory); if not selected, you can access the actual root directory (such as D: \) of the disk where the main directory is located. Of course, you may not have the permission to read other file directories or write, but we recommend that you select this option. 2. Hide files (hidden files): files whose attributes are "hidden" are not displayed in the list.
3. Always allow login (always accept logon): This account is always valid.
4. Allow Only n login (s) from same IP address (only accept N users with the same IP address to log on): It is very useful for limiting the number of machines connected to the external LAN.
5. allow user to change password: Some FTP clients allow users to change their FTP passwords. This is what they have prepared.
6. Max. upload speed (maximum upload rate): You can limit the maximum file upload rate (in kb/s) on the client ).
7. Max. download speed (maximum download rate): maximum rate of downloading files (in kb/s ).
8. Idle Time-ou (idle overflow Time): If you do not work for more than one minute (read/write operations), the existing connections are discarded.
9. Max. No. of users (maximum number of users): This is the maximum number of users that can be accessed.
10. logging message file: enter (or select) the complete path and file name of a pre-created text file (generally, after successful logon, a prompt message is displayed.
11. Password type (password type): select the default "regular password" (regular password ). "Dir access"
(Directory Access attribute) settings
1. Path: the actual path of the directory. Access (attribute) indicates the access attribute, and group indicates the access group.
2. Files/read: The "read" Operation (copying, downloading, not viewing) on the file.
3. Files/write: The "write" Operation (upload) on the file.
4. Files/append: the power to perform "write" and "Attach" operations on files.
5. Files/delete: The right to delete (upload, rename, delete, and move) files.
6. Files/execute: the right to run executable files directly.
7. directories/list: view the file and directory.
8. directories/create (create): Permission to create a directory.
9. directories/remove: the right to move, delete, and rename directories.
10. inherit (inheritance): If this option is selected, the above selected attributes will apply to the entire directory tree under the specified directory in the selected "path"; otherwise, it will only apply to the current directory.
11. When there are multiple "paths", sometimes order is crucial. For example, if the main directory is "D: \ myweb" and there is a directory named "D: \ myweb \ Win98" under it, you want: \ myweb \ Win98 "can only have viewing power, while other directories in the main directory have full control power.
Perform the following steps: "add" A "path", select "D: \ myweb", and select all permissions (especially "inherit "), "add" another "path" and select "D: \ myweb \ Win98". The permission is to select "list" only ). If the main directory is in front and the other directory is in, you will find that you have full control over the "Win98" directory after logging in. However, if you put the Home Directory behind the other directory, the result is exactly what you need. Therefore, we can conclude that the basic rule set here is: put special attributes in front and share attributes in the back.
User attribute settings
1. IP Access option. Deny Access: If this option is selected, the IP addresses listed below are denied access to the FTP server. Allow access: If this option is selected, only the IP addresses listed below are allowed to access the FTP server. Rule: Enter the IP address here, and then press the down icon to add it to the list. The up hand is to delete the selected IP address.
2. uL/dl ratios (upload/download ratio) option.
3. Quota (quota) option. Enable Disk Quota (disk quota allowed): If this option is selected, the size of the upload space can be set. Current (current): space in use is displayed here. You can click "calculate current" to obtain this value. Maximum (max): The maximum upload space can be set here.
Note: The above units are "kb" (kilobytes ).
Other operations
1. Add a new FTP server: Select "domains"> right-click> "new domain" on the left panel, and then follow the prompts. It should be noted that if it uses the same IP address as the existing FTP server, you must select a different port number.
2. delete an FTP server: select the corresponding server name in the left-side Navigation Pane, right-click and select "delete.
3. Create a new user: select the corresponding server name in the left-side Navigation Pane, and right-click and select "new user.
4. delete a user: select the user name in the left-side Navigation Pane, right-click the user, and select "delete user.
5. Copy a user: select the user name in the left-side Navigation Pane (you can also select any user name in the right-side Navigation Pane), right-click the user, and select "copy user.