<?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"
	>
<channel>
	<title>Comments on: Trouble-Shooting the WordPress Security White Paper.</title>
	<atom:link href="http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper</link>
	<description>Blog, Rant, Junk, News, Whatever.</description>
	<pubDate>Sat, 19 Jul 2008 19:02:15 +0000</pubDate>
	<generator>http://wordpress.org/</generator>
		<item>
		<title>By: iwebie</title>
		<link>http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-10430</link>
		<dc:creator>iwebie</dc:creator>
		<pubDate>Sun, 13 Jul 2008 01:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-10430</guid>
		<description>I used to use Wordpress, but I got sick of all the security holes and switched back to MovableType.</description>
		<content:encoded><![CDATA[<p>I used to use Wordpress, but I got sick of all the security holes and switched back to MovableType.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sicherheit / WordPress absichern</title>
		<link>http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-10309</link>
		<dc:creator>Sicherheit / WordPress absichern</dc:creator>
		<pubDate>Mon, 19 May 2008 14:21:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-10309</guid>
		<description>[...] http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9366 [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9366" rel="nofollow">http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9366</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9370</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 17 Oct 2007 06:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9370</guid>
		<description>Thanks for the info "AskApache" :D</description>
		<content:encoded><![CDATA[<p>Thanks for the info &#8220;AskApache&#8221; <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9366</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Wed, 17 Oct 2007 03:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9366</guid>
		<description>This is a really nice, well-thought-out effort, but unfortunately it is very much so NOT the best way to accomplish these goals.  Using the  (or filesmatch) is a good idea but the problem is it blocks INTERNAL and EXTERNAL requests alike.  Plus anyone but a seasoned htaccess admin can easily cause some atrocious security holes by misusing the allow and deny commands.. 

The BEST way to block all of these files is to only block EXTERNAL requests for them.  IOW, if your wp-cache requests a file, it should be allowed.  If a visitor on your webpage requests the same file, it should be denied.  This seems impossible to accomplish but actually mod_rewrite provides a really cool way...

for example, this blocks all external requests (except those generated by ErrorDocument code /index.php?error=code) for files ending in .php in either the wp-includes or wp-content directory, but it doesn't block your server or WP install!
&lt;code&gt;
RewriteCond %{QUERY_STRING} !error
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(wp-includes&#124;wp-content)/(.+)\.php\ HTTP/
RewriteRule .* - [F]
&lt;/code&gt;


code from &lt;a href="http://www.askapache.com/htaccess/apache-htaccess.html" rel="nofollow"&gt;htaccess tutorial&lt;/a&gt; 

Another way to secure your wordpress with .htaccess is by using my wordpress plugin: &lt;a href="http://www.askapache.com/wordpress/htaccess-password-protect.html" rel="nofollow"&gt;htaccess password protect&lt;/a&gt; on AskApache.com</description>
		<content:encoded><![CDATA[<p>This is a really nice, well-thought-out effort, but unfortunately it is very much so NOT the best way to accomplish these goals.  Using the  (or filesmatch) is a good idea but the problem is it blocks INTERNAL and EXTERNAL requests alike.  Plus anyone but a seasoned htaccess admin can easily cause some atrocious security holes by misusing the allow and deny commands.. </p>
<p>The BEST way to block all of these files is to only block EXTERNAL requests for them.  IOW, if your wp-cache requests a file, it should be allowed.  If a visitor on your webpage requests the same file, it should be denied.  This seems impossible to accomplish but actually mod_rewrite provides a really cool way&#8230;</p>
<p>for example, this blocks all external requests (except those generated by ErrorDocument code /index.php?error=code) for files ending in .php in either the wp-includes or wp-content directory, but it doesn&#8217;t block your server or WP install!<br />
<code><br />
RewriteCond %{QUERY_STRING} !error<br />
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(wp-includes|wp-content)/(.+)\.php\ HTTP/<br />
RewriteRule .* - [F]<br />
</code></p>
<p>code from <a href="http://www.askapache.com/htaccess/apache-htaccess.html" rel="nofollow">htaccess tutorial</a> </p>
<p>Another way to secure your wordpress with .htaccess is by using my wordpress plugin: <a href="http://www.askapache.com/wordpress/htaccess-password-protect.html" rel="nofollow">htaccess password protect</a> on AskApache.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp</title>
		<link>http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9276</link>
		<dc:creator>Philipp</dc:creator>
		<pubDate>Wed, 10 Oct 2007 16:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9276</guid>
		<description>Thanks Nick for your addition, I'm not too well within Apache and you're right. It's mostly even better to use httpd.conf and disable .htaccess for increased performance. And even some more security. But many users may not be able to access httpd.conf so .htaccess will be the only solution.</description>
		<content:encoded><![CDATA[<p>Thanks Nick for your addition, I&#8217;m not too well within Apache and you&#8217;re right. It&#8217;s mostly even better to use httpd.conf and disable .htaccess for increased performance. And even some more security. But many users may not be able to access httpd.conf so .htaccess will be the only solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9255</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 08 Oct 2007 16:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9255</guid>
		<description>Thanks for your responses guys :D

&lt;blockquote&gt;
Btw. you can add everything you added to your httpd.conf file as well to the main .htaccess file we described. So you don’t even need access to the httpd.conf file.
&lt;/blockquote&gt;

You're right, you can add the &lt;code&gt;&#60;Files&#62;&lt;/code&gt; directives to .htaccess, but you cannot add the &lt;code&gt;&#60;Directory&#62;&lt;/code&gt; directives, I think I should have explained better, if you add &lt;code&gt;&#60;Files "share-this.php"&#62;&lt;/code&gt; to ~/wp-content/.htaccess then any file called share-this.php whether it be in the themes or plugins directory gets permitted, I was trying to be more granular by either using &lt;code&gt;&#60;Directory&#62;&lt;/code&gt; in httpd.conf or by creating htaccess files in the correct directory... does that make more sense?</description>
		<content:encoded><![CDATA[<p>Thanks for your responses guys <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<blockquote><p>
Btw. you can add everything you added to your httpd.conf file as well to the main .htaccess file we described. So you don’t even need access to the httpd.conf file.
</p></blockquote>
<p>You&#8217;re right, you can add the <code>&lt;Files&gt;</code> directives to .htaccess, but you cannot add the <code>&lt;Directory&gt;</code> directives, I think I should have explained better, if you add <code>&lt;Files "share-this.php"&gt;</code> to ~/wp-content/.htaccess then any file called share-this.php whether it be in the themes or plugins directory gets permitted, I was trying to be more granular by either using <code>&lt;Directory&gt;</code> in httpd.conf or by creating htaccess files in the correct directory&#8230; does that make more sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp</title>
		<link>http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9254</link>
		<dc:creator>Philipp</dc:creator>
		<pubDate>Mon, 08 Oct 2007 16:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9254</guid>
		<description>Really nice work Nick. We'll see what we will come around but something like a user driven repository is needed, as we have not the time to check every Plugin to see which access is needed in order to get it running. A good starting for sure, thanks for your help!
Btw. you can add everything you added to your httpd.conf file as well to the main .htaccess file we described. So you don't even need access to the httpd.conf file.</description>
		<content:encoded><![CDATA[<p>Really nice work Nick. We&#8217;ll see what we will come around but something like a user driven repository is needed, as we have not the time to check every Plugin to see which access is needed in order to get it running. A good starting for sure, thanks for your help!<br />
Btw. you can add everything you added to your httpd.conf file as well to the main .htaccess file we described. So you don&#8217;t even need access to the httpd.conf file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Kierznowski</title>
		<link>http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9245</link>
		<dc:creator>David Kierznowski</dc:creator>
		<pubDate>Mon, 08 Oct 2007 09:22:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.linickx.com/archives/342/trouble-shooting-the-wordpress-security-white-paper#comment-9245</guid>
		<description>Great initiative Nick.</description>
		<content:encoded><![CDATA[<p>Great initiative Nick.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
