<?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: Using suexec To Secure A Shared Server</title>
	<atom:link href="http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/</link>
	<description>Stuart Herbert's PHP Blog - Architecture, Code, and Hosting</description>
	<pubDate>Mon, 08 Sep 2008 04:40:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: tanuj</title>
		<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-24708</link>
		<dc:creator>tanuj</dc:creator>
		<pubDate>Wed, 16 Jul 2008 23:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-24708</guid>
		<description>how can i check myserver having suexec enabled.

Regards,
Tanuj
http://www.isuvidha.com/tanuj</description>
		<content:encoded><![CDATA[<p>how can i check myserver having suexec enabled.</p>
<p>Regards,<br />
Tanuj<br />
<a href="http://www.isuvidha.com/tanuj" rel="nofollow">http://www.isuvidha.com/tanuj</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fwolf&#8217;s Blog &#187; Blog Archive 由一个错误学到的一些php安全配置问题 - Fwolf's Blog</title>
		<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-24512</link>
		<dc:creator>Fwolf&#8217;s Blog &#187; Blog Archive 由一个错误学到的一些php安全配置问题 - Fwolf's Blog</dc:creator>
		<pubDate>Sun, 13 Jul 2008 10:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-24512</guid>
		<description>[...] suphp比suexec（就是原来dv3.0升php5的方法）要快一点；比suphp更快的还有suphp_mod_php；再快一些的是mpm-peruser，不过安装配置的麻烦程度也随之递增。 [...]</description>
		<content:encoded><![CDATA[<p>[...] suphp比suexec（就是原来dv3.0升php5的方法）要快一点；比suphp更快的还有suphp_mod_php；再快一些的是mpm-peruser，不过安装配置的麻烦程度也随之递增。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phill Brown</title>
		<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-24311</link>
		<dc:creator>Phill Brown</dc:creator>
		<pubDate>Wed, 09 Jul 2008 15:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-24311</guid>
		<description>Great Article,
After reading I am now swayed more to utilise suPHP or FastCGI Instead.
Thanks.</description>
		<content:encoded><![CDATA[<p>Great Article,<br />
After reading I am now swayed more to utilise suPHP or FastCGI Instead.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-11316</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 09 Jan 2008 13:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-11316</guid>
		<description>Good article! Thanks a lot for sharing.</description>
		<content:encoded><![CDATA[<p>Good article! Thanks a lot for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sasa Ebach</title>
		<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10243</link>
		<dc:creator>Sasa Ebach</dc:creator>
		<pubDate>Thu, 20 Dec 2007 12:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10243</guid>
		<description>Stu, this is much appreciated. I can't wait for your next article or a good solution for this problem. The best thing I could come up with would be one Apache for each user and a master Apache which works as proxy to the user instances.

I figure this is probably very inefficient if you have dozens or hundreds of accounts. I have not actually tried this, yet.</description>
		<content:encoded><![CDATA[<p>Stu, this is much appreciated. I can&#8217;t wait for your next article or a good solution for this problem. The best thing I could come up with would be one Apache for each user and a master Apache which works as proxy to the user instances.</p>
<p>I figure this is probably very inefficient if you have dozens or hundreds of accounts. I have not actually tried this, yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stu</title>
		<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10233</link>
		<dc:creator>Stu</dc:creator>
		<pubDate>Thu, 20 Dec 2007 08:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10233</guid>
		<description>@sapphirecat: Using exec or a trivial C program would both be more optimal than using the script I supplied, definitely.

@david: Thanks.  I'll cover that in the next article or so!</description>
		<content:encoded><![CDATA[<p>@sapphirecat: Using exec or a trivial C program would both be more optimal than using the script I supplied, definitely.</p>
<p>@david: Thanks.  I&#8217;ll cover that in the next article or so!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Rodger</title>
		<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10190</link>
		<dc:creator>David Rodger</dc:creator>
		<pubDate>Tue, 18 Dec 2007 23:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10190</guid>
		<description>It would be interesting to read your thoughts about this (if you've not come across it previously)...

http://www.telana.com/peruser.php</description>
		<content:encoded><![CDATA[<p>It would be interesting to read your thoughts about this (if you&#8217;ve not come across it previously)&#8230;</p>
<p><a href="http://www.telana.com/peruser.php" rel="nofollow">http://www.telana.com/peruser.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: developercast.com &#187; Stuart Herbert&#8217;s Blog: Using suexec To Secure A Shared Server</title>
		<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10185</link>
		<dc:creator>developercast.com &#187; Stuart Herbert&#8217;s Blog: Using suexec To Secure A Shared Server</dc:creator>
		<pubDate>Tue, 18 Dec 2007 18:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10185</guid>
		<description>[...] His guide steps through the entire process - getting the software, configuring Apache (with the PHP/CGI installation) and configuring suexec, both for the default install and then for the shared server settings. There&#8217;s even a few brief benchmarks showing the speed of execution for scripts with and without the suexec environment.    &#160; [...]</description>
		<content:encoded><![CDATA[<p>[...] His guide steps through the entire process - getting the software, configuring Apache (with the PHP/CGI installation) and configuring suexec, both for the default install and then for the shared server settings. There&#8217;s even a few brief benchmarks showing the speed of execution for scripts with and without the suexec environment.    &nbsp; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sapphirecat</title>
		<link>http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10172</link>
		<dc:creator>sapphirecat</dc:creator>
		<pubDate>Tue, 18 Dec 2007 13:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/#comment-10172</guid>
		<description>Is it more efficient to use 'exec' so the shell doesn't fork+wait on php-cgi? I'm curious what the benchmark result is if you change the bash script like so:

exec /usr/bin/php-cgi "$@"

It also seems fairly trivial to write a small C program to do this; you'd just pass your own argv on to the appropriate exec function. You might even statically link it, to avoid running ld.so. But I suspect this is leading into the land of tedious micro-optimization; especially, the speed of "execute PHP directly" is the limit for this case.</description>
		<content:encoded><![CDATA[<p>Is it more efficient to use &#8216;exec&#8217; so the shell doesn&#8217;t fork+wait on php-cgi? I&#8217;m curious what the benchmark result is if you change the bash script like so:</p>
<p>exec /usr/bin/php-cgi &#8220;$@&#8221;</p>
<p>It also seems fairly trivial to write a small C program to do this; you&#8217;d just pass your own argv on to the appropriate exec function. You might even statically link it, to avoid running ld.so. But I suspect this is leading into the land of tedious micro-optimization; especially, the speed of &#8220;execute PHP directly&#8221; is the limit for this case.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
