Answer the question
In order to leave comments, you need to log in
How to enable only anonymous authorization in IIS for a specific path?
Good afternoon, on a site where Windows authorization is globally enabled, you need to enable only anonymous authorization for a certain path, or rather a request (that is, in fact, there is no such thing in the site directories).
Those. for example, for the entire site mysite.domain, only Windows is enabled, and for the path mysite.domain/file.xml, allow only anonymous
Answer the question
In order to leave comments, you need to log in
Basically something like this:
<location path="mysite.domain/file.xml">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question