In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
# what is user isolation?
To give you a brief introduction, to isolate users is to create a login user for the client user on the server, and to create a file directory for each user. When users access, they can only access their own file directory, not other people's directory.
# procedure
# the first step is to install the iis service, which integrates ftp services
Step 1: open the server manager and click add roles and functions, as shown in the following figure
The next step is until the iis manager is hooked, and after the ftp appears, check the hooker and continue until the next step is completed, as shown in the following figure:
# next, create a ftp file directory in a drive other than disk c, and create a localuser for it, and create a folder directory for users who need to access it under the localuser directory. As shown in the following figure, the public file directory is accessible to anonymous users.
/ / sites that need to be visited
/ / create another localuser directory under the ftp directory, and create the home directory to be accessed by the users under the localuser directory, as shown in the following figure
The next step is to create a user's lili,lihong home directory on the server. When visiting, you can log in to your own home directory with lili,lihong. You can't log in to other people's home directories or see other people's home directories.
# I have created this user in advance, as shown in the following figure:
# next, publish the ftp site
# publish the site on the server
Step 1: add a ftp site to the site on the left, as shown in the following figure
Step 2:
Step three
# then select ftp to isolate users on the server
Next, turn on ftp user isolation on the isolated user
Verification and testing:
Enter ftp://192.168.177.20 on the client side, as shown in the following figure, and the login screen appears. You can enter the user you just created on the server. I just created lili and lihong.
# enter the password as shown in the following figure
# as shown in the figure above, lili enters its own users
# try logging in with lihong again
# Anonymous authentication is enabled where ftp authentication is enabled. Anonymous authentication means that you can enter it without entering a password. Its file directory is public, all under localuser, as shown below:
The following verification and test: try to log in as an anonymous user, as shown in the following figure: it goes directly to the anonymous directory without entering any password
# each user can upload and delete files under his or her home directory. By default, the first place to enter is an anonymous directory.
# right-click in anonymous mode and click to log in as follows
Then you can enter the user login interface, enter the user's name, and you can enter.
# summing up user isolation ftp, the difference between user isolation ftp and ordinary ftp is that users can only enter their own home directories, while ordinary ftp can see all user directories after logging in. If one is accidentally deleted, the data is all gone. In fact, you can set permissions. Personal feeling, this user isolation ftp is not bad.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.