1. Purpose of the experiment
Install Serv-U on Window server 2019 to build FTP service, realize client user account access to files on the server, and realize download and upload.
2. Implementation principle
Serv-U is an FTP server program that can run on Windows 95/98/2000/ME and Windows NT 4.0. With it, your personal computer can be simulated as an FTP server, that is to say, computer users in the network you are connected to can access your personal computer, copy, move, delete your computer through the FTP protocol (file transfer protocol). Files or folders in your computer, you can do everything permitted by the permissions. The FTP protocol stipulates a standard communication method between computers, so that all computers of different types, different operating systems, and different formats can exchange files. It can create user accounts in the simplest way, and divide a certain area on the hard disk space to store files, allowing users to upload or download required files with various FTP client software (such as CuteFTP, WS_FTP, etc.).
3. Experimental steps
1. Install Serv-U
Choose to install a language pack
Open after installation
2. Configure FTP service
new domain
default
Fill in the local IP address, folder address and select the folder to share or save the file. Click Next.
default
The server setting is used by default, that is, one-way encryption, which is relatively safe. If users are allowed to modify and restore their passwords, check Allow users to restore passwords. After setting, click Finish
2. Add users
Click on the user on the left, and click the Add button below
3. Add access directory
4. Client testing
username is login id
Can see successful access
5. Add a virtual directory
can also be written like this
There is no zs folder under the localuser folder of the server
But when the client accesses, there is an extra zs folder, because the server virtualizes the zhangsan.txt under the zhangsan folder to the zs folder of localuser through the virtual directory
6. Add another user to access different directories
When testing on the client side, the files in the zhangsan directory are accessed
It can be seen that the way Serv-U implements user isolation is to set users in different directories, and then grant access rights to the directories, and to access files in other user directories through virtual directories.