<?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: Simple Techniques to Lock Down your Website</title>
	<atom:link href="http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/feed/" rel="self" type="application/rss+xml" />
	<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/</link>
	<description>Web Development &#38; Design Tutorials</description>
	<lastBuildDate>Sun, 21 Mar 2010 12:26:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dustin</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-236828</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Sat, 20 Mar 2010 22:50:39 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-236828</guid>
		<description>What usually happens?  I suppose requiring a user to provide their password to make certain changes would be required, right? So you require a password to change an e-mail, or even the old password etc, so that you can use that same information to re-construct the process.</description>
		<content:encoded><![CDATA[<p>What usually happens?  I suppose requiring a user to provide their password to make certain changes would be required, right? So you require a password to change an e-mail, or even the old password etc, so that you can use that same information to re-construct the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-229517</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Fri, 12 Mar 2010 23:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-229517</guid>
		<description>I see you use the email in the hash for the password:

What happens if the user wishes to change their email?</description>
		<content:encoded><![CDATA[<p>I see you use the email in the hash for the password:</p>
<p>What happens if the user wishes to change their email?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: speedy18us</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-227307</link>
		<dc:creator>speedy18us</dc:creator>
		<pubDate>Wed, 10 Mar 2010 07:24:31 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-227307</guid>
		<description>I never saw such a complete tutorials on the web. I&#039;ll read them all, &#039;cause I love them. Many thanks!</description>
		<content:encoded><![CDATA[<p>I never saw such a complete tutorials on the web. I&#8217;ll read them all, &#8217;cause I love them. Many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-219530</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Tue, 02 Mar 2010 07:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-219530</guid>
		<description>Very nice touch with the added timestamp.</description>
		<content:encoded><![CDATA[<p>Very nice touch with the added timestamp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-200716</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Fri, 12 Feb 2010 21:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-200716</guid>
		<description>For some reason there seem to be a lot of people here who didnt understand these were examples, not straight code to use on your site.  To use this material you must understand it and then modify it for your use.

Getting beyond that, thanks for the tut.  I am now using hash(sha512) on my sites salted with the time stamp at the time they registered.  Yes its stored in the database, but you have to get past the sha512 hash to get to it.

Thanks again, well done.</description>
		<content:encoded><![CDATA[<p>For some reason there seem to be a lot of people here who didnt understand these were examples, not straight code to use on your site.  To use this material you must understand it and then modify it for your use.</p>
<p>Getting beyond that, thanks for the tut.  I am now using hash(sha512) on my sites salted with the time stamp at the time they registered.  Yes its stored in the database, but you have to get past the sha512 hash to get to it.</p>
<p>Thanks again, well done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kingdutch</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-187130</link>
		<dc:creator>Kingdutch</dc:creator>
		<pubDate>Mon, 01 Feb 2010 15:58:47 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-187130</guid>
		<description>I&#039;m too lazy to read all the comments so I dunno if no one else posted it yet.

But am I the only one to notice in 3. Authenticating the user you actually only need a valid username? As your SQL never actually checks against the password? ^^ 

(You first use the username to get salt and e-mail and then match again just against the username)</description>
		<content:encoded><![CDATA[<p>I&#8217;m too lazy to read all the comments so I dunno if no one else posted it yet.</p>
<p>But am I the only one to notice in 3. Authenticating the user you actually only need a valid username? As your SQL never actually checks against the password? ^^ </p>
<p>(You first use the username to get salt and e-mail and then match again just against the username)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Chater</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-174741</link>
		<dc:creator>Paul Chater</dc:creator>
		<pubDate>Fri, 22 Jan 2010 23:39:49 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-174741</guid>
		<description>I think that some people should really re-read and reiterate to themselves the title of this post, &quot;SIMPLE&quot; would be a key word. Haha.

I think now-a-days practically every coder knows that MD5 is indeed broke, and should use one of the SHA methods with salting. It&#039;s interesting... Although I definitely wouldn&#039;t recommend storing the string in the database. Heh that&#039;s just askin&#039; for trouble in my eyes.

The way I encrypt is using an encryption key of a random string sha1-hashed, then hashing that hash again and using that hash as the salt and then hashing the actual users password with the salt appended. Personally I think it&#039;s very secure haha, but I think I&#039;d need a crypto-geek to tell me if it&#039;s a highly secure way.</description>
		<content:encoded><![CDATA[<p>I think that some people should really re-read and reiterate to themselves the title of this post, &#8220;SIMPLE&#8221; would be a key word. Haha.</p>
<p>I think now-a-days practically every coder knows that MD5 is indeed broke, and should use one of the SHA methods with salting. It&#8217;s interesting&#8230; Although I definitely wouldn&#8217;t recommend storing the string in the database. Heh that&#8217;s just askin&#8217; for trouble in my eyes.</p>
<p>The way I encrypt is using an encryption key of a random string sha1-hashed, then hashing that hash again and using that hash as the salt and then hashing the actual users password with the salt appended. Personally I think it&#8217;s very secure haha, but I think I&#8217;d need a crypto-geek to tell me if it&#8217;s a highly secure way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-137397</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Fri, 27 Nov 2009 06:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-137397</guid>
		<description>Thanks for the response, I show my errors when I&#039;m developing a website, or a script, up until I make it available to the public, unless you intend to copy and paste this for you own implementations, yea, your gonna show MySQL errors unless you fix it yourself.

Yes I used MD5 as an example, I know MD5 is broken, I assume you had no intention to read commented code.</description>
		<content:encoded><![CDATA[<p>Thanks for the response, I show my errors when I&#8217;m developing a website, or a script, up until I make it available to the public, unless you intend to copy and paste this for you own implementations, yea, your gonna show MySQL errors unless you fix it yourself.</p>
<p>Yes I used MD5 as an example, I know MD5 is broken, I assume you had no intention to read commented code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karlos</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-134299</link>
		<dc:creator>Karlos</dc:creator>
		<pubDate>Fri, 20 Nov 2009 23:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-134299</guid>
		<description>You show your MySql errors to the public??????? Surely this is one of the first lines of defense in securing your database and website scripting. Im shocked.


mysql_connect($db_host, $db_usr, $db_pass) or die(&quot;MySQL Error: &quot; . mysql_error()); 


You also use md5 in one of your scripts. This is now broken and no longer presumed industry standard.

And the below line is unecessary as you could just use the MySql respose to identify if theres a matched  record.
 if(mysql_num_rows($checklogin) == 1)</description>
		<content:encoded><![CDATA[<p>You show your MySql errors to the public??????? Surely this is one of the first lines of defense in securing your database and website scripting. Im shocked.</p>
<p>mysql_connect($db_host, $db_usr, $db_pass) or die(&#8220;MySQL Error: &#8221; . mysql_error()); </p>
<p>You also use md5 in one of your scripts. This is now broken and no longer presumed industry standard.</p>
<p>And the below line is unecessary as you could just use the MySql respose to identify if theres a matched  record.<br />
 if(mysql_num_rows($checklogin) == 1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Jensen</title>
		<link>http://net.tutsplus.com/tutorials/php/simple-techniques-to-lock-down-your-website/comment-page-1/#comment-129748</link>
		<dc:creator>Kevin Jensen</dc:creator>
		<pubDate>Thu, 12 Nov 2009 06:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://net.tutsplus.com/?p=7035#comment-129748</guid>
		<description>I want to see this tutorial on how to stop phishing. That will be a good one.</description>
		<content:encoded><![CDATA[<p>I want to see this tutorial on how to stop phishing. That will be a good one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.080 seconds -->
