﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Disable script execution for the upfiles folder</title><link>http://www.aspplayground.net/forum/</link><description /><copyright>(c) ASP Playground Support Forum</copyright><ttl>30</ttl><item><title>Disable script execution for the upfiles folder (Samuel)</title><description>  If you allow file attachment for your messages, make sure you also disable script execution capability for the &lt;b&gt;~/upfiles&lt;/b&gt; and &lt;b&gt;~/avatars&lt;/b&gt; folder.       &lt;br&gt;  Disabling script execution can be done with IIS 6 MMC (see screenshot below).    &lt;br&gt;   &lt;br&gt;  With IIS 7, there is no such option. So, you need to change the &lt;b&gt;Handler Mappings&lt;/b&gt; for the &lt;b&gt;~/upfiles&lt;/b&gt; folder using the new IIS Manager. Right click on one of the items whose Handler column shows &lt;b&gt;IsapiModule. &lt;/b&gt;How it should be done is also available in the screen shot below.    &lt;br&gt;   &lt;br&gt;  IIS 7: &lt;br&gt;  [attachment=0] &lt;br&gt;   &lt;br&gt;  IIS6: &lt;br&gt;  [attachment=1] &lt;br&gt;  </description><link>http://www.aspplayground.net/forum/fb.ashx?m=376885</link><pubDate>Tue, 03 Jun 2003 17:06:44 GMT</pubDate></item></channel></rss>
