Is this really the version you are looking for? Kentico Xperience 8 Documentation is no longer updated. Use the switcher in the header to choose your product version.
When you set up Windows authentication, you can use the authentication only for specific sections of the live website. This leads to the following scenario:
The following example demonstrates how to set Windows authentication for the Products section of the sample Corporate site:
Disable Anonymous Authentication for the folder
Make sure that Windows Authentication is enabled
Edit the web.config file of your web project.
Set the mode attribute of the <authentication> element in the <system.web> section to Windows:
<authentication mode="Windows">Find the section marked with Windows authentication BEGIN and set the path parameter of the <location> element to the name of the created directory (Products in the example):
<!-- Windows authentication BEGIN -->
<location path="Products">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
<!-- Windows authentication END -->Save the web.config file.
The authentication is now configured. If you try to access any of the pages placed under the Products section, the system requires Windows authentication.
If you also want the authentication to be required for the Products main page, you need to use the following workaround:
Create a child under the Products page with identical content (you can use the Copy () action).
Select the original Products page and open the Properties -> Navigation tab.
Select Redirect to first child in the Menu actions section.
Click Save.
Because the new page is located under the Products section, windows authentication is required to access it.