<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Security</title><link>http://forums.iis.net/1043.aspx</link><description>Discussions around the security of IIS 7 including compentization, hidden directories, or authentication\authorization</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1887118.aspx</link><pubDate>Wed, 10 Dec 2008 00:58:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887118</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1887118.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1887118</wfw:commentRss><description>&lt;p&gt;Did you run command prompt with &amp;quot;run as administrator&amp;quot;?&amp;nbsp; For more info, search for UAC.&lt;/p&gt;</description></item><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1887114.aspx</link><pubDate>Tue, 09 Dec 2008 23:07:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887114</guid><dc:creator>OzzieP</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1887114.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1887114</wfw:commentRss><description>&lt;p&gt;Anil - When I run the command on a 64 bit Vista system I get an error message that &amp;quot;Cannot read the configuration file due to insufficient permission&amp;quot;.&amp;nbsp; I am already an administrator.&amp;nbsp; Do I need something special?&amp;nbsp; I assume we run the command from the command prompt.&lt;/p&gt;</description></item><item><title>Re: How to override parent level setting in IIS6</title><link>http://forums.iis.net/thread/1886011.aspx</link><pubDate>Wed, 26 Nov 2008 06:26:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1886011</guid><dc:creator>ElhamHafezi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1886011.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1886011</wfw:commentRss><description>&lt;p&gt;Hi Anil&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I run the first command I will get following message: &lt;/p&gt;
&amp;quot;Can not read configuration file due to insufficient permissions.&amp;quot;
How can I solve the issue?
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1859938.aspx</link><pubDate>Fri, 30 Nov 2007 00:27:51 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1859938</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1859938.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1859938</wfw:commentRss><description>&lt;p&gt;There are many different canonicalization that file-systems in windows (and specifically NTFS) can do to the file-name being opened - so both &amp;quot;c:\foo.asp::$DATA&amp;quot; and &amp;quot;c:\foo.asp.&amp;quot; ends up going to c:\foo.asp - so, if you have serving of any extension allowed, your asp script could get served as a static file to the client (including any database names in it etc) - of course, IIS blocks the examples I listed even if you have serving of any extension allowed - but, there is possiblity of other canonicalization traps and it is always nice to have defense in depth.&lt;/p&gt;</description></item><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1859935.aspx</link><pubDate>Thu, 29 Nov 2007 22:32:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1859935</guid><dc:creator>Switche</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1859935.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1859935</wfw:commentRss><description>&lt;p&gt;In response to anilr&amp;#39;s last comment here; can someone provide a simple example of how a canonicalization bug can be exploited due to a Mime Map allowing access to .* file types?&lt;/p&gt;
&lt;p&gt;I can understand the inherent file serving vulnerability of serving all unknown file extensions as application/octet-stream, but I don&amp;#39;t see the connection of canonicalization bugs to this Mime Map.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;</description></item><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1432949.aspx</link><pubDate>Wed, 18 Oct 2006 16:36:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1432949</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1432949.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1432949</wfw:commentRss><description>You probably never want to do what aarnott suggested (except for troubleshooting maybe) - you would be bypassing one of the security features of IIS to protect against canonicalization bugs - it would make more sense to add particular extensions you want to serve as static files to the list.</description></item><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1431655.aspx</link><pubDate>Tue, 17 Oct 2006 17:51:58 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1431655</guid><dc:creator>aarnott</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1431655.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1431655</wfw:commentRss><description>&lt;blockquote&gt;&lt;p&gt;However, my site still doesn&amp;#39;t recognise unknown file format. This time, the error message becomes &lt;strong&gt;404.3&lt;/strong&gt;, which means either I&amp;#39;m missing a handler map or&amp;nbsp;a MIME map for that directory.&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Use this command to open up all MIME types (and you can easily modify the command to suit your needs):&lt;/p&gt;&lt;p class="ConsoleOutput" style="margin:0in 0in 0pt;"&gt;&lt;font color="#ffffff" face="Lucida Console" style="background-color:#000000;"&gt;%windir%\system32\inetsrv\appcmd.exe set config /section:staticContent /+[fileExtension=&amp;#39;.*&amp;#39;,mimeType=&amp;#39;application/octet-stream&amp;#39;]&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1394146.aspx</link><pubDate>Sat, 09 Sep 2006 12:24:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1394146</guid><dc:creator>leonzhou</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1394146.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1394146</wfw:commentRss><description>&lt;p&gt;Thanks for the links Anilr.&lt;/p&gt;&lt;p&gt;However, my site still doesn&amp;#39;t recognise unknown file format. This time, the error message becomes &lt;strong&gt;404.3&lt;/strong&gt;, which means either I&amp;#39;m missing a handler map or&amp;nbsp;a MIME map for that directory.&lt;/p&gt;&lt;p&gt;Now I&amp;#39;m pretty sure that I have the &lt;strong&gt;StaticFile&lt;/strong&gt; handler with the &lt;strong&gt;request path *&lt;/strong&gt; enabled for the directory, but I do not see the&amp;nbsp;&lt;strong&gt;MIME Types&lt;/strong&gt; feature in the admin interface (I&amp;#39;ve installed all components of IIS7).&lt;/p&gt;&lt;p&gt;Do you know where I should configure the MIME Types?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1391963.aspx</link><pubDate>Thu, 07 Sep 2006 08:15:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1391963</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1391963.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1391963</wfw:commentRss><description>&lt;p&gt;You can find more information about IIS7 admin interfaces at&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.iis.net/default.aspx?tabid=7&amp;amp;subtabid=73"&gt;http://www.iis.net/default.aspx?tabid=7&amp;amp;subtabid=73&lt;/a&gt;&lt;/p&gt;&lt;p&gt;and about appcmd specifically at&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=954&amp;amp;p=1"&gt;http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=954&amp;amp;p=1&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1390489.aspx</link><pubDate>Wed, 06 Sep 2006 01:51:31 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1390489</guid><dc:creator>leonzhou</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1390489.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1390489</wfw:commentRss><description>&lt;p&gt;Heaps of thanks Anil. BTW, do you know anywhere that I can find more info about this kind of advanced operation?&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Leon&lt;/p&gt;</description></item><item><title>Re: How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1390229.aspx</link><pubDate>Tue, 05 Sep 2006 20:00:36 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1390229</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1390229.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1390229</wfw:commentRss><description>&lt;p&gt;The following command will unlock this section globally.&lt;/p&gt;&lt;p&gt;%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/security/requestFiltering&lt;/p&gt;&lt;p&gt;If you only want unlock it for a particular site/app, you can do&lt;/p&gt;&lt;p&gt;%windir%\system32\inetsrv\appcmd.exe unlock config &amp;quot;SiteName/app/url&amp;quot;&amp;nbsp;-section:system.webServer/security/requestFiltering&lt;/p&gt;&lt;p&gt;- Anil&lt;/p&gt;</description></item><item><title>How to override parent level setting in IIS7</title><link>http://forums.iis.net/thread/1388082.aspx</link><pubDate>Sun, 03 Sep 2006 03:19:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1388082</guid><dc:creator>leonzhou</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1388082.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1388082</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am apparently traped by the new request filtering feature in IIS7. I red about the tech doc about request filtering and tried to turn off the file extension filtering in my public listed folder by adding:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;p&gt;&amp;lt;&lt;font color="#800000" size="2"&gt;requestFiltering&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;fileExtensions&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;allowUnlisted&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;add&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;fileExtension&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;.asp&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;allowed&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/&lt;/font&gt;&lt;font color="#800000" size="2"&gt;fileExtensions&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000" size="2"&gt;requestFiltering&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#000000"&gt;But my IIS returned me HTTP Error 500.19 on the &amp;lt;&lt;font color="#800000" size="2"&gt;requestFiltering&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&amp;nbsp;line: &amp;quot;This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault=&amp;#39;Deny&amp;#39;), or set explicitly by a location tag with overrideMode=&amp;#39;Deny&amp;#39; or the legacy allowOverride=&amp;#39;false&amp;#39;.&amp;quot;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;The public folder is a virtual directory located under Default Web Site. But I have lost in how to override this parrent setting.&lt;/p&gt;&lt;p&gt;Could anyone point me to the right direction? Thanks&lt;/p&gt;</description></item></channel></rss>