I have to run a classic asp project in the root folder of a mvc folder.
How can i set up the web config to protect the routes through classic asp files?
I tried the following but now i’m not having access to anything….
<location path="Account">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
<location path="/">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
The Controller will get a [Authorize(Users = “*”)] to protect them from anonymous users.
Regards
float
I found a solution for my Problem. I had to add following lines to the web.config: