im trying to deny access to files and folders for anonymous users via webconfig for the application folder "/" and allow access to special controller paths ("Shared", "Verfolgung").
The configuration for the path "Shared" works but the access to "Verfolgung" requieres a authentification.
Maybe you tell me whats wrong?
Regards, float
part of web.config:
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" path="/" protection="All" timeout="2880" />
</authentication>
<location path="Verfolgung">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
<location path="Shared">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>