<?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: Setup and secure your WordPress upload directory</title>
	<atom:link href="http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/feed" rel="self" type="application/rss+xml" />
	<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html</link>
	<description>Philippines, Technology, Mobile, Android, Games, Mac, Linux, WordPress</description>
	<lastBuildDate>Sat, 31 Dec 2011 04:26:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Coding memories - Unable to create directory &#8230;/wp-content/uploads/</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-1199</link>
		<dc:creator>Coding memories - Unable to create directory &#8230;/wp-content/uploads/</dc:creator>
		<pubDate>Thu, 29 Sep 2011 16:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-1199</guid>
		<description>[...] a security risk. iGerry posted a nice tutorial about how to setup a more secure upload directory: http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html. In my opinon the most valuable thing comes from John Osmond&#8216;s comment. He mention that if [...]</description>
		<content:encoded><![CDATA[<p>[...] a security risk. iGerry posted a nice tutorial about how to setup a more secure upload directory: <a href="http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html" rel="nofollow">http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html</a>. In my opinon the most valuable thing comes from John Osmond&#8216;s comment. He mention that if [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-1196</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 21 Sep 2011 11:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-1196</guid>
		<description>HI, is this part correct?

Order Allow,Deny
Deny from all

Allow from all


Don&#039;t think so, can somebody please tell me the correct code to allow only images? 

Thanks in advance</description>
		<content:encoded><![CDATA[<p>HI, is this part correct?</p>
<p>Order Allow,Deny<br />
Deny from all</p>
<p>Allow from all</p>
<p>Don&#8217;t think so, can somebody please tell me the correct code to allow only images? </p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guix</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-1140</link>
		<dc:creator>Guix</dc:creator>
		<pubDate>Fri, 29 Jul 2011 15:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-1140</guid>
		<description>Hello,

What is the exact content of the .htaccess file? All I see is:
  Order Allow,Deny
  Deny from all
  Allow from all

Thanks a lot</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>What is the exact content of the .htaccess file? All I see is:<br />
  Order Allow,Deny<br />
  Deny from all<br />
  Allow from all</p>
<p>Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-307</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 15 Oct 2010 14:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-307</guid>
		<description>John Osmond: If your webserver is running on Linux, you can also use &quot;chmod 2775&quot; on your uploads directory, which sets the &quot;group sticky&quot; bit. Any new directories created under uploads will keep the same ownership as the parent directory instead of becoming owned by nobody:nobody. However, this is a Linux-specific behavior.</description>
		<content:encoded><![CDATA[<p>John Osmond: If your webserver is running on Linux, you can also use &#8220;chmod 2775&#8243; on your uploads directory, which sets the &#8220;group sticky&#8221; bit. Any new directories created under uploads will keep the same ownership as the parent directory instead of becoming owned by nobody:nobody. However, this is a Linux-specific behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Osmond</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-306</link>
		<dc:creator>John Osmond</dc:creator>
		<pubDate>Wed, 22 Sep 2010 20:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-306</guid>
		<description>One thing I&#039;ve recently discovered is that if you set apache to run phpsuexec (which most web hosts do anyway) then there is no problem with the uploads directory. It can remain 755 and the users will have no problems uploading images. Also, the automatic upgrades work properly every time.

phpsuexec as I&#039;m coming to understand it is also called cgi-mode in php5. If you run your own server it&#039;s an apache setting. If you have a web host ask them to turn it on.

WARNING: It will break any http authentication scripts you might have, but there are work-arounds. I feel it&#039;s worth it.</description>
		<content:encoded><![CDATA[<p>One thing I&#8217;ve recently discovered is that if you set apache to run phpsuexec (which most web hosts do anyway) then there is no problem with the uploads directory. It can remain 755 and the users will have no problems uploading images. Also, the automatic upgrades work properly every time.</p>
<p>phpsuexec as I&#8217;m coming to understand it is also called cgi-mode in php5. If you run your own server it&#8217;s an apache setting. If you have a web host ask them to turn it on.</p>
<p>WARNING: It will break any http authentication scripts you might have, but there are work-arounds. I feel it&#8217;s worth it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cartman</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-305</link>
		<dc:creator>Cartman</dc:creator>
		<pubDate>Wed, 01 Sep 2010 05:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-305</guid>
		<description>Hi thanks for overview. I am a newbie on these blogging stuff. I am searching everyday lots of articles. And I am absolutely amateur.Lol So my settings re now on Chmod 755 and i read some different articles which  are saying `make CHMOD permissions 664` Does it work? 

And if you have a lil bit more time to answer I need to know sth about video security stuff. I will make some education videos also in near future. So If i put all my videos that wp-upload directory will they be still in safe like photos? 

If not. Please write a new article about this subject too Gerry :)

Sorry for broken English btw. 

All my best wishes,</description>
		<content:encoded><![CDATA[<p>Hi thanks for overview. I am a newbie on these blogging stuff. I am searching everyday lots of articles. And I am absolutely amateur.Lol So my settings re now on Chmod 755 and i read some different articles which  are saying `make CHMOD permissions 664` Does it work? </p>
<p>And if you have a lil bit more time to answer I need to know sth about video security stuff. I will make some education videos also in near future. So If i put all my videos that wp-upload directory will they be still in safe like photos? </p>
<p>If not. Please write a new article about this subject too Gerry <img src='http://gerry.ws/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Sorry for broken English btw. </p>
<p>All my best wishes,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Osmond</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-304</link>
		<dc:creator>John Osmond</dc:creator>
		<pubDate>Fri, 30 Jul 2010 04:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-304</guid>
		<description>Fantastic post.

Question for you. I like wp to organize uploads into year and month folders. When I setup my uploads folder according to your post here, then new folders created inside do not inherit userid:nobodyid, they inherit nobodyid:nobodyid. That creates a problem for the ftp programs. You can&#039;t do much with these folders until you run (or your web host admins) run a chown with -R recursive flag.

So to the question, is there a way to chown the uploads dir to cause all future subdirs inherit the same userid:nobodyid owner/group permissions?

Thanks.
-- JO</description>
		<content:encoded><![CDATA[<p>Fantastic post.</p>
<p>Question for you. I like wp to organize uploads into year and month folders. When I setup my uploads folder according to your post here, then new folders created inside do not inherit userid:nobodyid, they inherit nobodyid:nobodyid. That creates a problem for the ftp programs. You can&#8217;t do much with these folders until you run (or your web host admins) run a chown with -R recursive flag.</p>
<p>So to the question, is there a way to chown the uploads dir to cause all future subdirs inherit the same userid:nobodyid owner/group permissions?</p>
<p>Thanks.<br />
&#8211; JO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaki Levy</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-303</link>
		<dc:creator>Jaki Levy</dc:creator>
		<pubDate>Tue, 19 Jan 2010 20:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-303</guid>
		<description>This is great - nice overview. I&#039;m looking to have a list of files available for download (pdf&#039;s). Now, I want people to be able to download these files, but I don&#039;t want the wp-content/uploads directory to be accessible...

So, right now, my uploads file is totally accessible to anyone that can get the path. How can I secure this folder so nobody can access it via a direct URL request, yet still allow people to access the files for download/viewing?</description>
		<content:encoded><![CDATA[<p>This is great &#8211; nice overview. I&#8217;m looking to have a list of files available for download (pdf&#8217;s). Now, I want people to be able to download these files, but I don&#8217;t want the wp-content/uploads directory to be accessible&#8230;</p>
<p>So, right now, my uploads file is totally accessible to anyone that can get the path. How can I secure this folder so nobody can access it via a direct URL request, yet still allow people to access the files for download/viewing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ARMIN</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-302</link>
		<dc:creator>ARMIN</dc:creator>
		<pubDate>Sun, 04 Oct 2009 22:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-302</guid>
		<description>&quot;Leaving the owner set to your own user id and the group to the web server setting would give read/write access to only you and the web server denying access to other users.&quot;

If another user on the server is able to execute scripts as &quot;apache&quot;, &quot;web&quot;, &quot;www&quot;, &quot;www-data&quot;, he can access these files, no?</description>
		<content:encoded><![CDATA[<p>&#8220;Leaving the owner set to your own user id and the group to the web server setting would give read/write access to only you and the web server denying access to other users.&#8221;</p>
<p>If another user on the server is able to execute scripts as &#8220;apache&#8221;, &#8220;web&#8221;, &#8220;www&#8221;, &#8220;www-data&#8221;, he can access these files, no?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gerry</title>
		<link>http://gerry.ws/2008/10/152/setup-and-secure-your-wordpress-upload-directory.html/comment-page-1#comment-301</link>
		<dc:creator>gerry</dc:creator>
		<pubDate>Wed, 05 Aug 2009 13:08:58 +0000</pubDate>
		<guid isPermaLink="false">http://gerry.ws/?p=152#comment-301</guid>
		<description>your are welcome peter, you can checkout my recently put up site where I now put my wordpress stuff - http://www.codestuff.com</description>
		<content:encoded><![CDATA[<p>your are welcome peter, you can checkout my recently put up site where I now put my wordpress stuff &#8211; <a href="http://www.codestuff.com" rel="nofollow">http://www.codestuff.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

