Looking for a long time on the Internet, can not find a story about anonymous users of the site, online too many articles are kua and talk about all the truth, but completely decline to implement, and anonymous users related to a lot of articles, but the site anonymous users to establish steps of the article is not.
This is a normal present like, understand people feel too simple, do not want to Aushu. Do not understand people completely do not understand, looking at those high-profile speech, like in the Bible. There is a kind of pretending to pretend, in the site to publish articles, leaving a variety of loopholes.
Most hate some people, a little knowledge, often advised others to a site directory plus everyone permissions, hehe, really want to follow this help people's statement set, casually understand the point of people to take the server easily.
Nonsense not to say, now look at the map, look at the site with anonymous access permissions.
Problem performance: Often see some friends will be in the problem, I have a good site, how will open to enter the username and password.
Now, follow the procedure below to reconfigure the anonymous access user, and the problem above is not the same.
First step: Add anonymous Users
First on My Computer right button, there will be a management interface. There is a "local user and group" in it, and then a "new user" appears and a new user is added.
Add users everyone should be! Write user name, the author in order to facilitate, then set to Web_user4, this name does not limit, but set the password to write down, but also to use, by the way the user can not change the password, there is no time, so the back will save some trouble. Figure:
The following step, it is important to adjust the above user to anonymous Access group or guests group, so that even if the site has loopholes, others get the site, there is no way to black into the server.
Right-click on the user name you just created, select Properties, see that subordinate is not, in here, the Users group selected deleted, add point, you can put it to the Gusets group, in fact, this group is not safe, but to less than the Users group better, preferably their own in the last step to build users, Create a new group that is dedicated to Web sites. Figure:
Step Two: Add the user's access rights to the Web site program
Find the root of the site, right-click on the folder, click Properties, you can see the following map to the right, general, sharing, security and so on.
Choose security inside, you can see that there are user groups and names.
Incidentally (XP needs to cancel a simple share to see)
In the box below there is a Add button, click on the pop-up box to enter the user name in front of the build, OK.
If the Web site program needs to make action on the file, it may be added after the user, under the security options, will be written to the corresponding allowed on the hook. Figure:
Last step: Add access rights to IIS
Open IIS, locate the Web site you want to set up, right-click on the site, select Properties, and see the image below.
Look for the Directory Security tab above to see "Authentication and Access Control" and click Edit.
The following authentication method pops up.
Check to enable anonymous users, in the following user box, you can directly fill in the user name before the build, you can also browse, used to choose the user name has been built, the same way.
After confirmation, prompts for a password. Figure:
So far, the site anonymous access users have been established, and now to view the site, if the general site, is normal access, of course, some special sites, you need to add some other permissions, such as receptacle SERVICE, here will not be more introduction.