IIS server sets individual user rights for each site

Source: Internet
Author: User
Tags iis

First of all explain why you want to set this. Mainly for the security of the server, even if there is a problem with our site. Also does not affect the normal operation of other sites. Other words. Only permissions are available under this directory. Other directories are not authorized below look at my specific steps:

First: is also the first step of website security. We select a special user to put the site. Let's start with the permissions set on this disk. Let's say it's d. We right click on "D Disk"-"Properties" as shown:

We only need the above two user's permission one is "the administrator" and "system" these two users all other deletes. Then "OK" This step can be said to be the overall permissions of a letter set bar, and then we set up a directory in D-disk named "Web" then we create a directory in the Web name "Htidc-phpmyadmin."

Table of Contents We are well established. Below we say the user's establishment. First we set up a user group. The role is to add all of our site users to this group. It is convenient for us to manage the website users and establish methods. Right-click the "My Computer"---"Manage"---"Local Users and Groups"---"groups" as shown below

Then we right click on the right margin---and then "new group" is shown below:

The Create Group dialog box appears as shown below after opening:

In the group name we enter the "Iisuser" description inside the "site group" and then click "Add" and then "create" so that our site user group has been established. Below we will build the website user; Right-click the "My Computer"---manage---Local Users and Groups---"users" as shown below

Then we right click on the right margin. Right-click after effect chart:

Click "New User" to appear the new User dialog box as shown below:

In the username we enter the password, the user can not change the password and password never expire "tick before, and then click Create."

The following is added to the Iisuser group that we have just created to begin with. The following figure:

Right-click the user we just created: And then click Properties to open the User Properties dialog box as shown below:

First of all we need to go to the users this group to delete. Then "OK" and click "Add" to open the Add Group dialog box as shown below;

Click Advanced to show the following figure:

Click "Find Now" and then locate the group name "Iisuser" We just set up and click OK--"OK"--"OK" to click OK here three times. You can add the user luyouqiwo.com to the Iisuser group.

Now let's add the user we just created to our website. The establishment of the website we don't have much to say here. Friends who don't know please refer to the IIS Web site publishing tutorials and settings (seconds to kill rookie)

Below we set the permissions of the Web site directly. We open the IIS Explorer diagram as follows:

Right-click the site we established and select permissions to open the Web Site Permission dialog box:

Then click "Add" to open the Add Permission dialog box;

Then click the advanced image below:

Click "Find Now" and select the username we just created. Then click "OK" and click once to make sure that the following figure appears:

Select "List Folder Directory" read "write" and then OK. These permissions need to be set according to the needs of the site. Some stations may have a larger set of permissions. You need to add the permissions that are modified on. It depends on the situation.

Let's take the next steps. Right-click our site in IIS Manager and select Properties to open the Properties dialog box as shown below:

Open the Web Site Properties dialog box as shown below:

Select the "Directory Security" tab here and click "Edit" to open the authentication dialog box as shown below:

Then we click to browse the following image

Click on the "Advanced" image below:

Select the user we just created and then "OK" and then at "OK" The following figure appears:

I'm slow to see it. The username has become the user we just selected ... All we need to do is enter the user's password in the Password box and click "OK" to bounce out and let us enter the password once. And then we're going to "OK" two times to the following figure:

So far our website user separation is set up.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.