<?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: Stopping SQL Injections</title>
	<atom:link href="http://nickduncan.co.za/stopping-sql-injections/feed/" rel="self" type="application/rss+xml" />
	<link>http://nickduncan.co.za/stopping-sql-injections/</link>
	<description>Web Entrepreneur &#38; SEO Consultant</description>
	<lastBuildDate>Wed, 25 Aug 2010 19:52:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: NickDuncan</title>
		<link>http://nickduncan.co.za/stopping-sql-injections/comment-page-1/#comment-48</link>
		<dc:creator>NickDuncan</dc:creator>
		<pubDate>Sun, 13 Dec 2009 18:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://nickduncan.co.za/?p=114#comment-48</guid>
		<description>&lt;p&gt;Thanks for the input guys. As and when I learn more, I&#039;ll keep it updated.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the input guys. As and when I learn more, I&#8217;ll keep it updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Relic Viper</title>
		<link>http://nickduncan.co.za/stopping-sql-injections/comment-page-1/#comment-47</link>
		<dc:creator>Relic Viper</dc:creator>
		<pubDate>Sun, 13 Dec 2009 16:48:22 +0000</pubDate>
		<guid isPermaLink="false">http://nickduncan.co.za/?p=114#comment-47</guid>
		<description>Shot man... very good article.
defiantly going to add this to my scripts</description>
		<content:encoded><![CDATA[<p>Shot man&#8230; very good article.<br />
defiantly going to add this to my scripts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wogan</title>
		<link>http://nickduncan.co.za/stopping-sql-injections/comment-page-1/#comment-43</link>
		<dc:creator>Wogan</dc:creator>
		<pubDate>Fri, 11 Dec 2009 16:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://nickduncan.co.za/?p=114#comment-43</guid>
		<description>In my scripts I generally have a startup file - one that includes all the other functions, connects to the database, etc. One function in particular (&quot;request_clean()&quot;) is run on all the inputs, like so:
foreach($_GET as $key =&gt; $value) { $_GET[$key] = request_clean($value); };
request_clean does all the fancy escaping, etc, cleaning the data before you even use it in your script. Chances are it&#039;s not entirely foolproof, but it&#039;s an easy-to-implement step.
~ Wogan</description>
		<content:encoded><![CDATA[<p>In my scripts I generally have a startup file &#8211; one that includes all the other functions, connects to the database, etc. One function in particular (&#8220;request_clean()&#8221;) is run on all the inputs, like so:<br />
foreach($_GET as $key =&gt; $value) { $_GET[$key] = request_clean($value); };<br />
request_clean does all the fancy escaping, etc, cleaning the data before you even use it in your script. Chances are it&#8217;s not entirely foolproof, but it&#8217;s an easy-to-implement step.<br />
~ Wogan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NickDuncan</title>
		<link>http://nickduncan.co.za/stopping-sql-injections/comment-page-1/#comment-40</link>
		<dc:creator>NickDuncan</dc:creator>
		<pubDate>Fri, 11 Dec 2009 04:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://nickduncan.co.za/?p=114#comment-40</guid>
		<description>Thanks Robert. You&#039;re absolutely right, the more roadblocks you have the better. Rather be safe than sorry!</description>
		<content:encoded><![CDATA[<p>Thanks Robert. You&#8217;re absolutely right, the more roadblocks you have the better. Rather be safe than sorry!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Bravery</title>
		<link>http://nickduncan.co.za/stopping-sql-injections/comment-page-1/#comment-39</link>
		<dc:creator>Robert Bravery</dc:creator>
		<pubDate>Thu, 10 Dec 2009 21:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://nickduncan.co.za/?p=114#comment-39</guid>
		<description>Nice article. Probably a bit technical for most users, and probably most never knew this actually happens.
I hardly ever have variable in my query string for starters. I always sanitise my variables .
You can use session variables instead, still sanitise and do the necessary.
Necer construct your query string from your variables. You know what you SQL query should look like.  Construct it yourself. Only take the value of the parameter, then as you demonstrate check and clean the variable out.
Never use Dynamic queries. Use parametrised queries.
Always test and be vigilant. Never think that if you implement one solutions that you are safe. Implement as many roadblocks as you can.</description>
		<content:encoded><![CDATA[<p>Nice article. Probably a bit technical for most users, and probably most never knew this actually happens.<br />
I hardly ever have variable in my query string for starters. I always sanitise my variables .<br />
You can use session variables instead, still sanitise and do the necessary.<br />
Necer construct your query string from your variables. You know what you SQL query should look like.  Construct it yourself. Only take the value of the parameter, then as you demonstrate check and clean the variable out.<br />
Never use Dynamic queries. Use parametrised queries.<br />
Always test and be vigilant. Never think that if you implement one solutions that you are safe. Implement as many roadblocks as you can.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
