<?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>Kurinchi Blogger Scribbles ... &#187; php.ini setting</title>
	<atom:link href="http://kurinchilamp.kurinchilion.com/tag/phpini-setting/feed" rel="self" type="application/rss+xml" />
	<link>http://kurinchilamp.kurinchilion.com</link>
	<description>On Open Source Technologies</description>
	<lastBuildDate>Mon, 02 Jan 2012 06:14:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>PHP Security: Hiding Program Extensions</title>
		<link>http://kurinchilamp.kurinchilion.com/2009/05/php-security-hiding-program-extensions.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2009/05/php-security-hiding-program-extensions.html#comments</comments>
		<pubDate>Thu, 14 May 2009 10:59:54 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[apache httpd.conf]]></category>
		<category><![CDATA[cake php]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[hide program extension]]></category>
		<category><![CDATA[obfuscate]]></category>
		<category><![CDATA[PHP security]]></category>
		<category><![CDATA[php.ini setting]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=323</guid>
		<description><![CDATA[Obfuscating Scripting Language Extension in PHP is one of the technique that is effective to a certain extent in delaying the unscrupulous act of an active hacker. Following are few simple techniques used for hiding the program extensions. i) Hiding program extension using .htaccess ii) Hiding program extension using php.ini iii) Hiding program extension using [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Obfuscating Scripting Language Extension in PHP</strong> is one of the technique that is effective to a certain extent in delaying the unscrupulous act of an active hacker. Following are few simple techniques used for hiding the program extensions.</p>
<p>i) Hiding  program extension using .htaccess<br />
ii) Hiding program extension using php.ini<br />
iii) Hiding program extension using apache directive configuration<br />
<span id="more-323"></span><br />
<strong>Hiding the program extension using .htaccess  </strong></p>
<pre class="brush: php">
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.do
</pre>
<p><strong>Hiding the program extension using php.ini</strong><br />
Set <strong>expose_php = off</strong> in your php.ini file to hide php extensions and programmatically drive the navigation through your programs.</p>
<p><strong>Hiding the program extension through Apache configuration</strong><br />
<strong>&lt;Files index&gt;ForceType application/x-httpd-php &lt;/Files&gt;</strong></p>
<p>To make PHP extension look like other program coding, you can add a setting to Apache&#8217;s httpd.conf file like &#8230;<br />
<strong>AddType application/x-httpd-php .asp .aspx .pl .jsp</strong></p>
<p>Depending on the facilities available in your environment, you can choose one of the technique mentioned here. <em>PHP Framework Codeigniter </em>relies on .htaccess to implement program obscurity and <em>CakePHP</em> has its routing algorithm to achieve this purpose. </p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2009/05/php-security-hiding-program-extensions.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

