The IIS server sets the individual user permissions for each site

  
. First explain why this is the case. Mainly for the security of the server, even if there is a problem with one of our sites. It will not affect the normal operation of other sites. In other words. Only have permissions in this one directory. Other directories are not authorized. Let me take a look at my specific steps: First: It is also the first step in website security. We selected a drive letter for the dedicated user to place the site. Let's first set the permissions of this disk. For example, it is the D drive. We right click on the "D drive" & rdquo; & mdash; & ldquo; attribute & rdquo; Figure: We only need the permissions of the above two users is & rdquo;administrator & rdquo; & rdquo; & rdquo; system & rdquo; these two users The rest are deleted. Then & ldquo; determine & ldquo; this step can be said to be a drive letter of the overall permissions set, then we create a directory in the D drive named "rd"; web & rdquo; Then we create a directory name in the WEB "HIDDC- phpMyAdmin”. The directory we have set up. Below we talk about the establishment of the user. First we create a user group. The role is to add all of our website users to this group. It is convenient for us to manage the website users and establish methods. Right click on "My Computer"---“Management ---“Local Users and Groups>---“Group”The following picture Then we right click on the blank space on the right---and then ; New group “ as shown below: After opening, the dialog box for creating a group appears as shown below: In the group name, we enter “iisuser” description inside to write “site user group” then click “add”and“create & rdquo; This way our site user group is set up. Let's create a website user; right click on "My Computer"---“Management ---<quo;Local Users and Groups ---"User” Blank space. Right click after the effect diagram: Click “New User” The New User dialog box appears as shown below: At the user name, we enter the password, the user can't change the password and the password never expires, and then tick, then click Create. The following is the user we just created added to the iisuser group we started building. As shown below: Right click on the user we just created: then click “Properties“Open the User Properties dialog box as shown below: First we need to delete the USERS group first. Then "OK" and then click on "Add" to open the Add Group dialog box as shown below; Click Advanced to appear as below: Click “ Find Now & rdquo; Then find the group name we just created “iisuser” then click &rdquo ; OK “--&&quo;;OK“--&&quo;;OK“Click here to confirm three times. You can add the user luyouqiwo.com to the iisuser group. Let's add the user we just created to our website. We don't have much to say about the establishment of the website. If you don't understand, please refer to the iis website to publish graphic tutorials and settings (second kill rookie) below we directly set the permissions of the website. Let's open the IIS Explorer as shown below: Right-click on the website we created and select “Permissions" Open the website permissions dialog: then click “Add”Open the Add Permissions dialog; then click Advanced as shown below: “ Find Now & rdquo; Then select the username we just created. Then click “OK“Click once to confirm that the following image appears: Select “List Folder Directory”“Read”“Write” and then confirm. These permissions need to be set according to the needs of the website. Some stations may have a larger set of permissions. Need to add the permission to modify. It depends on the situation. Let's take the next step. Right-click on our site in the IIS Manager and select the "Properties" property dialog box as shown below: Open the Site Properties dialog box as shown below: Select the "Directory Security" tab and click "Edit“ Open Identity The verification dialog box is as shown below: Then we click to browse as shown below. Click “Advanced" as shown below: Select the user we just created and then “OK” and then “OK”, the following picture appears: I saw it slowly. The username has become the user we just selected. . We just need to enter the user's password in the password box and click “OK> This will pop up to let us enter the password once. Then we are at ”determined “ twice can be as follows: So far, our website users have been set up.
Copyright © Windows knowledge All Rights Reserved