
Untitled
By: a guest on
May 8th, 2012 | syntax:
None | size: 0.50 KB | hits: 11 | expires: Never
ASP.Net MVC 3 what folders are web visible
<!-- Block access to Admin directory -->
<location path="Admin">
<system.web>
<authorization>
<deny users="*" />
</authorization>
</system.web>
</location>
<?xml version="1.0"?>
<!-- This web.config blocks access to any directory it is put in,
and its subdirectories -->
<configuration>
<system.web>
<authorization>
<deny users="*" />
</authorization>
</system.web>
</configuration>