IIS Authentication Configuration

Source: Internet
Author: User

 

 

Screen clipping taken:

Configuration for the first 4 Users: localhost applicationhost. config <Location Path = "">

The second configuration: Web. config

Key points:

  1. Although these six items are listed together, they are not at the same level in the application;
  2. The first four are for IIS verification. You do not need to submit the user name and password for verification. The other three are required;
  3. Form authentication is an ASP. NET authentication that passes web page authentication. To reach this authentication, you must pass IIS authentication (because after a request enters the server, it is sent to IIS and then to ASP.. NET application), that is, if form verification is required, the first four must start one;
  4. The default account running in Asp.net is specified by the process mode identifier (in the application pool). For example, you can use the web. to simulate other accounts (<identity impersonate = "false" Password = "*****" username = "Administrator"/>) by calling system. security. principal. windowsidentity. getcurrent (). name to view this account

 

 

Screen clipping taken:

  1. Authing with authentication in Web. config:

Form Verification -- form

Windows verification-Windows

IIS Authentication Configuration

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.