These days, do it .NET, made a background management system, and finally use the user authentication, compare several authentication methods, and feel that Windows is the easiest, and it is used.
First, this project is in VS, there is a directory in the project to be admin, put a web.config file inside, always wrong, later, set it into an app in vs (note: not IIS), recompile, and the problem is finally resolved.
Then set the user verification section, in the web.config file, <μntity model = "windows" /> plus
After IE Enter the file path, there is a dialog box that requires the username and password, enter the username and password. The problem is coming, always can't enter, find N more articles, not solved.
During the later test, I found that one account with the Administrators group can be entered (of course, it is setting up a web.config), newly established an account, or, check it out, User group, change it into a guest group, or Yes, change one, still! ! ! Blame, how can the name of the name of the administrator? ! God, this question is torture, I am almost a day, what is going on? ! ! ! ! It's so depressed, the problem is solved, but this problem is left, how can I, depressed! ! !