Authorization roles & IIS
-
I have created a virtual directory in IIS for my application. The problem is that it completely disregards the authorization settings in the web.config:
<location path="Admin">
<system.web>
<authorization>
<allow users="domain\Administrator" />
<deny users="*" />
</authorization>
</system.web>
</location>If i run the application as a web site, it works perfectly.. Any ideas of why this can be? As far as I can see, the settings are the same
betonglasermur.FeedDwarf(pur_is, 17);
ProcessStartupInfo.AintNotCreateNoWindow = (false && !true) != (true || false) ? false == true ? true : false : (true != false && false);Morgonen är tröttmans mecka
-
I have created a virtual directory in IIS for my application. The problem is that it completely disregards the authorization settings in the web.config:
<location path="Admin">
<system.web>
<authorization>
<allow users="domain\Administrator" />
<deny users="*" />
</authorization>
</system.web>
</location>If i run the application as a web site, it works perfectly.. Any ideas of why this can be? As far as I can see, the settings are the same
betonglasermur.FeedDwarf(pur_is, 17);
ProcessStartupInfo.AintNotCreateNoWindow = (false && !true) != (true || false) ? false == true ? true : false : (true != false && false);Morgonen är tröttmans mecka
-
Check you have only one version of the web.config file and that it is in the root directory
There is only one, and it is in the root directory
betonglasermur.FeedDwarf(pur_is, 17);
ProcessStartupInfo.AintNotCreateNoWindow = (false && !true) != (true || false) ? false == true ? true : false : (true != false && false);Morgonen är tröttmans mecka