<?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: PHP Security: Guidelines to Lock Down Your Website</title>
	<atom:link href="http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/feed/" rel="self" type="application/rss+xml" />
	<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 14:41:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Miquel</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-11914</link>
		<dc:creator>Miquel</dc:creator>
		<pubDate>Wed, 16 Dec 2009 20:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-11914</guid>
		<description>I can only echo the misgivings of previous commenters and request that you please remove or amend this article. Whilst the intent behind it is laudable, it proposes unsafe solutions and it is irresponsible of you to continue to present them as such.</description>
		<content:encoded><![CDATA[<p>I can only echo the misgivings of previous commenters and request that you please remove or amend this article. Whilst the intent behind it is laudable, it proposes unsafe solutions and it is irresponsible of you to continue to present them as such.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaspal Singh</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-10922</link>
		<dc:creator>Jaspal Singh</dc:creator>
		<pubDate>Sun, 08 Nov 2009 09:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-10922</guid>
		<description>Excellent tutorial for PHP Freaks.
Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Excellent tutorial for PHP Freaks.<br />
Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danh ba web 2.0</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-8288</link>
		<dc:creator>Danh ba web 2.0</dc:creator>
		<pubDate>Wed, 08 Jul 2009 11:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-8288</guid>
		<description>Thanks for great tips, keep up !</description>
		<content:encoded><![CDATA[<p>Thanks for great tips, keep up !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ??????? 02 (29.06 - 05.07.2009) &#124; ?????? ?? ?????? ????????</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-8222</link>
		<dc:creator>??????? 02 (29.06 - 05.07.2009) &#124; ?????? ?? ?????? ????????</dc:creator>
		<pubDate>Mon, 06 Jul 2009 15:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-8222</guid>
		<description>[...] PHP Security: Guidelines to Lock Down Your Website [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP Security: Guidelines to Lock Down Your Website [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eiencafe.com --&#62; New way to graphic</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-8207</link>
		<dc:creator>Eiencafe.com --&#62; New way to graphic</dc:creator>
		<pubDate>Sun, 05 Jul 2009 12:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-8207</guid>
		<description>&lt;strong&gt;Weekly Fave’s...&lt;/strong&gt;


Another Sunday, another week favorites  .
Week from June 28 to July 4, 2009:
Tutorials
Photoshop  Grunge City  Magic and special light effects need Apophysis, too  Construct a Novel Victorian Theatre Setting  How To Create An Abstract Body Portrait .....</description>
		<content:encoded><![CDATA[<p><strong>Weekly Fave’s&#8230;</strong></p>
<p>Another Sunday, another week favorites  .<br />
Week from June 28 to July 4, 2009:<br />
Tutorials<br />
Photoshop  Grunge City  Magic and special light effects need Apophysis, too  Construct a Novel Victorian Theatre Setting  How To Create An Abstract Body Portrait &#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Boulton</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-8202</link>
		<dc:creator>Chris Boulton</dc:creator>
		<pubDate>Sun, 05 Jul 2009 00:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-8202</guid>
		<description>There&#039;s two types of sanitization - sanitization for input (saving) and sanitization for output.

addslashes() should NEVER be used to sanitize data for output unless you&#039;re in a Javascript string or similar where you need it slashed. 

htmlspecialchars/html_entities is what you want to do for any data that is being output to HTML, assuming you don&#039;t want anything passed through.

mysql_real_escape_string() (or equivalent for other DB engine you&#039;re using) is what should be used to escape input being supplied around in database queries. Of course, what&#039;s even better are parameterized queries/prepared statements.

The &quot;disable flash&quot; is also awfully inadequate. Not to mention it&#039;s easily bypassed if I do ....

Checking referring pages should also NEVER be relied upon from a security standpoint. Ever. It&#039;s easily forged, can be disabled etc etc. The form keys however, are the correct approach.</description>
		<content:encoded><![CDATA[<p>There&#8217;s two types of sanitization &#8211; sanitization for input (saving) and sanitization for output.</p>
<p>addslashes() should NEVER be used to sanitize data for output unless you&#8217;re in a Javascript string or similar where you need it slashed. </p>
<p>htmlspecialchars/html_entities is what you want to do for any data that is being output to HTML, assuming you don&#8217;t want anything passed through.</p>
<p>mysql_real_escape_string() (or equivalent for other DB engine you&#8217;re using) is what should be used to escape input being supplied around in database queries. Of course, what&#8217;s even better are parameterized queries/prepared statements.</p>
<p>The &#8220;disable flash&#8221; is also awfully inadequate. Not to mention it&#8217;s easily bypassed if I do &#8230;.</p>
<p>Checking referring pages should also NEVER be relied upon from a security standpoint. Ever. It&#8217;s easily forged, can be disabled etc etc. The form keys however, are the correct approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 10 Great Design, Development And Inspirational Posts From Around The Web&#160;&#124;&#160;Spyre Studios</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-8201</link>
		<dc:creator>10 Great Design, Development And Inspirational Posts From Around The Web&#160;&#124;&#160;Spyre Studios</dc:creator>
		<pubDate>Sat, 04 Jul 2009 18:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-8201</guid>
		<description>[...] PHP Security: Guidelines to Lock Down Your Website: No website is safe from hackers so why not make sure yours is as secure as possible? This article from Design Reviver offers some priceless tips and techniques. [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP Security: Guidelines to Lock Down Your Website: No website is safe from hackers so why not make sure yours is as secure as possible? This article from Design Reviver offers some priceless tips and techniques. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reboltutorial</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-8192</link>
		<dc:creator>reboltutorial</dc:creator>
		<pubDate>Sat, 04 Jul 2009 00:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-8192</guid>
		<description>Wow very nice pcitures, I&#039;m impressed :)</description>
		<content:encoded><![CDATA[<p>Wow very nice pcitures, I&#8217;m impressed <img src='http://designreviver.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-8168</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 03 Jul 2009 07:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-8168</guid>
		<description>Thanks for the tips, security is definitely a major concern when it comes to web development,</description>
		<content:encoded><![CDATA[<p>Thanks for the tips, security is definitely a major concern when it comes to web development,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paviles</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/comment-page-1/#comment-8161</link>
		<dc:creator>paviles</dc:creator>
		<pubDate>Thu, 02 Jul 2009 22:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://designreviver.com/?p=1118#comment-8161</guid>
		<description>Muchas gracias por compartir este artículo. Muy concreto y completo!!</description>
		<content:encoded><![CDATA[<p>Muchas gracias por compartir este artículo. Muy concreto y completo!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
