<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1.3" -->
<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/"
	>

<channel>
	<title>J_K9 @ Linux</title>
	<link>http://wolphination.com/linux</link>
	<description>J_K9</description>
	<pubDate>Sun, 18 Nov 2007 01:25:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>
	<language>en</language>
			<item>
		<title>The Problem With PHP Application&#160;Security</title>
		<link>http://wolphination.com/linux/2007/01/13/the-problem-with-php-application-security/</link>
		<comments>http://wolphination.com/linux/2007/01/13/the-problem-with-php-application-security/#comments</comments>
		<pubDate>Sat, 13 Jan 2007 20:40:06 +0000</pubDate>
		<dc:creator>J_K9</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://wolphination.com/linux/2007/01/13/the-problem-with-php-application-security/</guid>
		<description><![CDATA[PHP application security and the vulnerabilities which are often found in PHP apps have already been discussed at length. PHP is a great language, but it suffers in that it provides no simple method of escaping special characters when handling input and thus leaves many budding programmers&#8217; web applications vulnerable to remote file inclusion (RFI) [...]]]></description>
			<content:encoded><![CDATA[<p>PHP application security and the vulnerabilities which are often found in PHP apps have already been <a href="http://www.securityfocus.com/columnists/427">discussed at length</a>. PHP is a great language, but it suffers in that it provides no simple method of escaping special characters when handling input and thus leaves many budding programmers&#8217; web applications vulnerable to <a href="http://lwn.net/Articles/203904/">remote file inclusion</a> (RFI) exploits, <a href="http://en.wikipedia.org/wiki/XSS">Cross Site Scripting</a> (XSS), <a href="http://en.wikipedia.org/wiki/SQL_Injection">SQL injection</a> and a host of other remote exploitation techniques which may allow the attacker to steal confidential data (such as clients&#8217; credit card details), disrupt services and cause many other problems. These techniques allow the attackers to use the web application to do things it was not originally designed for.</p>
<p>The programmer in question can be blamed to a certain extent for not reading up on how to secure their web application, but the problem is that many new programmers are not aware of the fact that they need to escape and clean the data they receive from the application&#8217;s inputs in order to stop it from doing what it was not designed to do. They are probably unaware that such types of attacks exist anyway. However, PHP provides limited, complex and slightly obscure functions to secure input handling which are usually insufficient and lack the functionality required to prevent certain attacks. Worse still, many books and tutorials written to teach people with no previous experience how to code in PHP usually omit secure data handling techniques or tips, and provide examples thoughout the book/tutorial which are vulnerable to the attacks mentioned above! This is irresponsible on the authors&#8217; behalf: it&#8217;s no wonder that PHP application vulnerabilities accounted for <a href="http://www.securityfocus.com/news/11430">43% of the security issues found in 2006</a>.</p>
<p>However, all hope is not lost. The <a href="http://www.owasp.org/index.php/Main_Page">Open Web Application Security Project</a> (OWASP) have produced a set of <a href="http://www.owasp.org/index.php/OWASP_PHP_Filters">PHP filters</a> which allow the newest of PHP programmers to secure their input data handling methods. Doing so is a simple as <a href="http://sourceforge.net/project/showfiles.php?group_id=64424&#038;package_id=106757">downloading the filters</a>, including them in the web app (with a command such as <em>require_once(&#8217;sanitize.inc.php&#8217;)</em>), storing the input into a variable and then sanitizing the data as shown on the <a href="http://www.owasp.org/index.php/OWASP_PHP_Filters">project&#8217;s homepage</a>.</p>
<p>It would be better if the PHP developers added functions such as OWASP&#8217;s PHP filters into the PHP code itself and if the authors of PHP instruction material added sections on securing input handling, but these filters are far better than nothing <img src='http://wolphination.com/linux/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://wolphination.com/linux/2007/01/13/the-problem-with-php-application-security/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Project X In Full&#160;Throttle</title>
		<link>http://wolphination.com/linux/2006/12/18/project-x-in-full-throttle/</link>
		<comments>http://wolphination.com/linux/2006/12/18/project-x-in-full-throttle/#comments</comments>
		<pubDate>Mon, 18 Dec 2006 02:07:35 +0000</pubDate>
		<dc:creator>J_K9</dc:creator>
		
		<category><![CDATA[Sites]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://wolphination.com/linux/2006/12/18/project-x-in-full-throttle/</guid>
		<description><![CDATA[I&#8217;m currently working on a commercial web project (written in PHP, of course) which will be released at 00:00 GMT on the 25th December. I shall earn 50% of the profits (booyah :P) which, considering that it was my idea and I both designed and coded it is not a bad deal! Hehe&#8230; In case [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently working on a commercial web project (written in PHP, of course) which will be released at 00:00 GMT on the 25th December. I shall earn 50% of the profits (booyah :P) which, considering that it was my idea and I both designed and coded it is not a bad deal! Hehe&#8230; In case you&#8217;re wondering who the remaining 50% will go to, it will go to my father who is has funded the project (by renting a <a href="http://mediatemple.net/webhosting/dv/">(dv) server</a> from <a href="http://mediatemple.net/">(mt)</a>, purchasing the SSL certificate, <strike><a href="http://haveamint.com">Mint</a></strike> (I paid for that) and a laptop to code it on) and managed the business side of things (such as setting up a bank account for the project and touching up the legal documents which I had drafted).</p>
<p>I can&#8217;t reveal too many details (ie. anything), so I&#8217;ll just say this: I thought of it by following some advice I read somewhere - by lying down on a sunbed with my notepad and a pen and just waiting for the thought to hit me.. Oddly enough, it did, and from there I developed the idea into a grander project.</p>
<p>I haven&#8217;t finished coding it yet and I&#8217;ve only got seven days until it debuts - crap, I better get coding <img src='http://wolphination.com/linux/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://wolphination.com/linux/2006/12/18/project-x-in-full-throttle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Converting HTML To&#160;BBCode</title>
		<link>http://wolphination.com/linux/2006/03/07/converting-html-to-bbcode/</link>
		<comments>http://wolphination.com/linux/2006/03/07/converting-html-to-bbcode/#comments</comments>
		<pubDate>Tue, 07 Mar 2006 21:01:26 +0000</pubDate>
		<dc:creator>J_K9</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://wolphination.com/linux/2006/03/07/converting-html-to-bbcode/</guid>
		<description><![CDATA[I am currently learning PHP, so I set out to write an application which would convert my HTML-coded tutorials into BBCode suitable for forums. That goes without saying that my code failed miserably.. I was not too far off though; I got the general gist of it. So, I decided to ask the wonderful guys [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently learning PHP, so I set out to write an application which would convert my HTML-coded tutorials into BBCode suitable for forums. That goes without saying that my code failed miserably.. I was not too far off though; I got the general gist of it. So, I decided to ask the wonderful guys and gals on the &#8216;General user&#8217; <a href="http://www.php.net/mailing-lists.php">PHP mailing list</a> (which, by the way, <u>means</u> what it says about being of very high volume!), and they came up with a solution.</p>
<p> <a href="http://wolphination.com/linux/2006/03/07/converting-html-to-bbcode/#more-77" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wolphination.com/linux/2006/03/07/converting-html-to-bbcode/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
