5
I have a folder named "app" I want to block access to all files if the user is not logged in.
tried so:
<location path="app">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
but if I access /app/somethings.Xyz it accesses...
Have you tried "~/app"?
– Leonel Sanches da Silva
already, I can still access the file...
– Rod
put this part you put in the question above the
<system.web>
web.config, i.e., at the beginning of the file.– Marciano.Andrade
also not...
– Rod