This post has been republished via RSS; it originally appeared at: IIS Support Blog articles.
If all of the pages in your website is protected by Windows Authentication, use the configuration to enable public access to certain pages.
The idea is to protect the entire website and create an exception for the public page. Here are the steps:
- Enable Windows Authentication and disable Anonymous Authentication (This is how the Windows Authentication should be set - Anonymous Authentication should be disabled)
- In the web.config file, use location tag to allow Anonymous access to a certain page:
This configuration allows anonymous access to the test folder.
runAllManagedModulesForAllRequests parameter to
true for making sure the managed modules process all requests.
The page may throw an error about not being able to override the authentication settings. If you run into this issue, go to applicationHost.config file and set