<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>FAQforge &#187; security</title> <atom:link href="http://www.faqforge.com/tag/security/feed/" rel="self" type="application/rss+xml" /><link>http://www.faqforge.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Tue, 07 Sep 2010 19:06:55 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Set stricter PHP settings to secure joomla and wordpress installations</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig2/set-stricter-php-settings-to-secure-joomla-and-wordpress-installations/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig2/set-stricter-php-settings-to-secure-joomla-and-wordpress-installations/#comments</comments> <pubDate>Wed, 19 Aug 2009 11:56:23 +0000</pubDate> <dc:creator>admin</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[security]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=160</guid> <description><![CDATA[If you run a joomla or wordpress installation with mod_php, the following settings in the vhost configuration file or the &#8220;Apache directives&#8221; field in ISPConfig can be used to set stricter securitypolicys. This helps limit the impact of a possible hack to this websiteand protect the other sites on the server. php_admin_value disable_functions &#34;show_source system [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fset-stricter-php-settings-to-secure-joomla-and-wordpress-installations%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fset-stricter-php-settings-to-secure-joomla-and-wordpress-installations%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If you run a joomla or wordpress installation with mod_php, the following settings in the vhost configuration file or the &#8220;Apache directives&#8221; field in ISPConfig can be used to set stricter securitypolicys. This helps limit the impact of a possible hack to this websiteand protect the other sites on the server.<br
/><pre><p class="system">php_admin_value disable_functions &quot;show_source system shell_exec passthru exec phpinfo popen proc_open&quot;
php_admin_flag allow_url_fopen Off
php_admin_value session.save_path &quot;/var/www/webXXX/phptmp/&quot;
php_admin_value open_basedir &quot;/var/www/webXXX/:/tmp&quot;
&lt;p class=&quot;system&quot;&gt;</p></pre></p><h3>Explanation</h3><p><strong>disable_functions</strong> disables functions that have a potential security impact e.g. because they allow the execution of external applications.</p><p><strong>allow_url_fopen</strong> disables the ablity to open files via an URL.</p><p><strong>session.save_path</strong> sets the path were php stores its session files. For ISPConfig 2, the path is e.g. &#8220;/var/www/webXXX/phptmp/&#8221; and for ISPConfig 3 the path is like &#8220;/var/www/clients/client1/web1/tmp/&#8221; If you dont use ISPConfig, set this path to a directory which is writable for the webserver user. the directory should be unique for every website.</p><p><strong>open_basedir</strong> sets the path were php scripts are allowed to open files. For ISPConfig 2, the path is like  &#8220;/var/www/webXXX/&#8221; and for ISPConfig 3 the path is like &#8220;/var/www/clients/client1/web1/&#8221; If you dont use ISPConfig, set this path to a the root directory of this vhost. With :/tmp we allow php scripts to use also the /tmp directory of the server.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig2/set-stricter-php-settings-to-secure-joomla-and-wordpress-installations/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 5/29 queries in 0.043 seconds using disk

Served from: www.faqforge.com @ 2010-09-09 17:19:28 -->