By configuring FTP server implements anonymous users can only download, upload users can download Joe Smith, John Doe users can only upload

Configuration FTP installation service

Windows Server 2008 R2 system FTP services have been integrated into the IIS Web Services 7.5, so you need through the "Server Manager" in the "Add Roles Wizard" in the "Web Server" role choose to install FTP server

FTP service after the installation is complete, you can configure and manage them through the "management tool" in the "IIS Manager."
Here Insert Picture Description

The system does not create a default FTP site, by default, IIS Manager, a Web site only, the following create a new FTP site

1, click to the right "action" panel "add FTP sites" option, start the "Add FTP site" wizard.
Here Insert Picture Description
2, a name for the site and develop the main FTP site, I will be here "ftproot" as the main FTP site
Here Insert Picture Description
3, IP address and port number specified site, as yet to have an SSL certificate, which will be set SSL "no".
Here Insert Picture Description
4, check the "Anonymous" in the "Authentication", that anonymous authentication is enabled. All authorized users have read access time with. Click "Finish" button to complete the site creation.
Here Insert Picture Description
5. Upon completion of the FTP site, users can use the specified IP address to access the FTP server in the format of " the FTP: // IP address or computer name of the FTP server "
Here Insert Picture Description

The following user authentication and permissions settings to achieve anonymous users can only download, upload can download Joe Smith, John Doe can only upload, to achieve this purpose, you can configure the "FTP Authentication" and "FTP authorization rules" to achieve

1, in the "FTP Authentication" to ensure that you have enabled the "Basic Authentication"
Here Insert Picture Description
2, specifying who is allowed to access the "FTP authorization rules" in. Here the user can either use the local user, you can also use a domain user. For example, create an FTP server on a local user named zhangsan and local user named lisi, pay attention to user lisi does not have read permissions, and then click the "Add allowed rule", read and write permissions assigned to
Here Insert Picture Description
Here Insert Picture Description
3, Once set up, tested the client.
If clients use Explorer or IE browser to access an FTP site, it automatically uses the anonymous user's identity to access the site. If you want to switch users, you can right-click the blank space in the window, select "Save" command, you can enter the appropriate user authentication. However, after logging can be found, no one has no write permissions. This is because the FTP server permissions are combined with NTFS permissions. So, not only to assign permissions for the specified user, also you need to set the appropriate NTFS permissions on the FTP site home directory in IIS Manager.
Here Insert Picture Description
4, the site of the main directory NTFS permissions, assign permissions to modify user lisi zhangsan users and, once again tested with clients
Here Insert Picture Description
Here Insert Picture Description

FTP upload can not fault troubleshooting:

①检查ftp根目录文件夹的名是否正常(不能用汉字)
②文件夹的安全属性是否开启匿名用户的读写权限
③删除文件夹,重新创建

FTP can not download most cases occur:

IE浏览器设置错误——解决方法:打开浏览器——工具——Internet选项——
安全——本地internet——自定义——“下载”启用

Guess you like

Origin blog.csdn.net/weixin_42569404/article/details/93762337