Deo web.config fajla od interesa je dat.
Code:
<authentication mode="Forms" >
<forms name=".Login" loginUrl="x/Login.aspx" protection="All" timeout="20"/>
</authentication>
<location path="x/Default.aspx">
<system.web>
<authorization>
<deny users="?"></deny>
</authorization>
</system.web>
</location>
<authentication mode="Forms" >
<forms name=".Login" loginUrl="x/Login.aspx" protection="All" timeout="20"/>
</authentication>
<location path="x/Default.aspx">
<system.web>
<authorization>
<deny users="?"></deny>
</authorization>
</system.web>
</location>
Medjutim, kao sto se moze videti, u web.config fajlu sam dao samo autorizaciju pristupa Default.aspx fajlu u folderu x. Da li postoji nacin da podesavajuci web.config u jednom location tagu zadam da mi za ceo folder x treba autentikacija ili sam osudjen da formiram location tag za svaki aspx fajl ponaosob?
To me boxing is like a ballet, except
there is no choreography, no dancing and the dancers hit each other...
there is no choreography, no dancing and the dancers hit each other...