web site configuration

前端 未结 2 1604
无人及你
无人及你 2021-02-03 23:58

One web site is required to be accessed by me (developer) and one user (DOMAIN_NAME\\USER_NAME).

When I developed web site in visual studio using "automatic host&quo

2条回答
  •  逝去的感伤
    2021-02-04 00:40

    Your web.config is set up properly. Further, ensure the IIS site/app is configured as:

    • to NOT allow anonymous access
    • forcing Integrated Windows authentication
    • leave the app pool as Network Service

    IIS7

    • ensure you have the Windows Authentication security feature installed in Roles & Features.
    • In IIS7, go to the IIS or Features View, double-click Authentication.
    • On the Authentication page, select Windows Authentication
    • On the Authentication page, disable Anonymous Authentication
    • MSDN article

    IIS6

    Find the dialog below at

    • Control Panel / Administrative Tools -> IIS Manager -> Right click Web site -> Properties -> Directory Security

    IIS 6 non anonymous with Windows Authentication

提交回复
热议问题