<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress upload file type security restrictions</title>
	<atom:link href="http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/</link>
	<description>Weblog of Kristof Coomans</description>
	<lastBuildDate>Tue, 05 Oct 2010 12:08:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Long-term Memory &#187; Blog Archive &#187; Modifying WordPress security guidlines</title>
		<link>http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/comment-page-1/#comment-267157</link>
		<dc:creator>Long-term Memory &#187; Blog Archive &#187; Modifying WordPress security guidlines</dc:creator>
		<pubDate>Tue, 05 Jan 2010 17:42:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/#comment-267157</guid>
		<description>[...] bit of googling got me to Kristof Coomans&#8217; blogpost which pointed me to the PJW Mime Config plugin. This plugin allows you to add custom file [...]</description>
		<content:encoded><![CDATA[<p>[...] bit of googling got me to Kristof Coomans&#8217; blogpost which pointed me to the PJW Mime Config plugin. This plugin allows you to add custom file [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis Hearn</title>
		<link>http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/comment-page-1/#comment-62712</link>
		<dc:creator>Louis Hearn</dc:creator>
		<pubDate>Thu, 09 Aug 2007 11:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/#comment-62712</guid>
		<description>Depending on the type of file you want to make available, you can also provide it as a ZIP file for download. 

WordPress wouldn&#039;t let me upload Photoshop actions or setting files, but once they were in a ZIP file they uploaded, displayed in &quot;Browse All&quot;  and downloaded fine. 

Obviously this is not a solution for things like videos that you want to display directly on your page, but for something like a Thunderbird extension it ought to do the trick.</description>
		<content:encoded><![CDATA[<p>Depending on the type of file you want to make available, you can also provide it as a ZIP file for download. </p>
<p>WordPress wouldn&#8217;t let me upload Photoshop actions or setting files, but once they were in a ZIP file they uploaded, displayed in &#8220;Browse All&#8221;  and downloaded fine. </p>
<p>Obviously this is not a solution for things like videos that you want to display directly on your page, but for something like a Thunderbird extension it ought to do the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mstormo</title>
		<link>http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/comment-page-1/#comment-11566</link>
		<dc:creator>mstormo</dc:creator>
		<pubDate>Wed, 28 Feb 2007 15:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/#comment-11566</guid>
		<description>Or you could add something like the following in your wp-config.php file:

function add_some_mimes($mimes) {
    $ourMimes = array(
        &#039;xpi&#039; =&gt; &#039;application/x-xpinstall&#039;,
    );
    return array_merge($mimes,$ourMimes);
}
add_filter(&#039;upload_mimes&#039;,&#039;add_some_mimes&#039;);</description>
		<content:encoded><![CDATA[<p>Or you could add something like the following in your wp-config.php file:</p>
<p>function add_some_mimes($mimes) {<br />
    $ourMimes = array(<br />
        &#8216;xpi&#8217; =&gt; &#8216;application/x-xpinstall&#8217;,<br />
    );<br />
    return array_merge($mimes,$ourMimes);<br />
}<br />
add_filter(&#8216;upload_mimes&#8217;,'add_some_mimes&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/comment-page-1/#comment-8777</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Wed, 14 Feb 2007 10:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/#comment-8777</guid>
		<description>Very true. I just try and stay away from alot of plugins. I find some plugins are huge and have alot of files, which I don&#039;t like, but I can see the problem there. Although it isn&#039;t too hard to just go back in and add them again after an upgrade. Cheers!</description>
		<content:encoded><![CDATA[<p>Very true. I just try and stay away from alot of plugins. I find some plugins are huge and have alot of files, which I don&#8217;t like, but I can see the problem there. Although it isn&#8217;t too hard to just go back in and add them again after an upgrade. Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristof</title>
		<link>http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/comment-page-1/#comment-8759</link>
		<dc:creator>Kristof</dc:creator>
		<pubDate>Wed, 14 Feb 2007 06:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/#comment-8759</guid>
		<description>Hi Darren

Thanks for the tip.

This is a possible fix, but it doesn&#039;t make upgrading easier. You will have to backup your changes and apply them again after upgrading.

To my opinion, the pjw-mime-config is a more robust solution.</description>
		<content:encoded><![CDATA[<p>Hi Darren</p>
<p>Thanks for the tip.</p>
<p>This is a possible fix, but it doesn&#8217;t make upgrading easier. You will have to backup your changes and apply them again after upgrading.</p>
<p>To my opinion, the pjw-mime-config is a more robust solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/comment-page-1/#comment-8754</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Wed, 14 Feb 2007 05:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coomanskristof.be/2006/10/24/wordpress-upload-file-type-security-restrictions/#comment-8754</guid>
		<description>You could add mime types to the functions.php file in wp-includes directory at about line (1069). You wouldn&#039;t need php skills to do this either, pretty much copy and paste the code for the other mime types listed then change the copied type to the type you like. You can find good resources for mime types on w3schools or mozdev.</description>
		<content:encoded><![CDATA[<p>You could add mime types to the functions.php file in wp-includes directory at about line (1069). You wouldn&#8217;t need php skills to do this either, pretty much copy and paste the code for the other mime types listed then change the copied type to the type you like. You can find good resources for mime types on w3schools or mozdev.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

