<?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: Storing Passwords (securly) in MySQL</title>
	<atom:link href="http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/</link>
	<description>Ramblings which occasionally resemble reality. This is the blog of Stewart Smith.</description>
	<lastBuildDate>Mon, 30 Aug 2010 10:19:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Shiva Gopalakrishnan</title>
		<link>http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/comment-page-1/#comment-88430</link>
		<dc:creator>Shiva Gopalakrishnan</dc:creator>
		<pubDate>Sat, 08 Mar 2008 07:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/#comment-88430</guid>
		<description>I like the concept of salting. In fact I was thinking about it without knowing the term. I was looking at various articles on the web over this.

How about adding some pepper too? How about using multiple levels of salting and again the pattern of the elements salted is hashed and to make it even complex use the MD5hash of one of the salting elements.

As we increase the complexity of the passwords one of the things that is going to be of importance is the storage of the function which verifies the password. 
If this is not secure which basically means, if you have a very insecure password for your website all this discussion is just a &quot;moo point&quot;...</description>
		<content:encoded><![CDATA[<p>I like the concept of salting. In fact I was thinking about it without knowing the term. I was looking at various articles on the web over this.</p>
<p>How about adding some pepper too? How about using multiple levels of salting and again the pattern of the elements salted is hashed and to make it even complex use the MD5hash of one of the salting elements.</p>
<p>As we increase the complexity of the passwords one of the things that is going to be of importance is the storage of the function which verifies the password.<br />
If this is not secure which basically means, if you have a very insecure password for your website all this discussion is just a &#8220;moo point&#8221;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pythian Group Blog &#187; Log Buffer #7: a Carnival of the Vanities for DBAs</title>
		<link>http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/comment-page-1/#comment-86562</link>
		<dc:creator>Pythian Group Blog &#187; Log Buffer #7: a Carnival of the Vanities for DBAs</dc:creator>
		<pubDate>Fri, 09 Mar 2007 21:30:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/#comment-86562</guid>
		<description>[...] A survey of alternatives to the PASSWORD function for storing passwords in MySQL is up at Frank Mash&#8217;s blog. MySQL provides lots of flexibility here, as Frank shows, and on Ramblings, Stewart Smith expands on this. [...]</description>
		<content:encoded><![CDATA[<p>[...] A survey of alternatives to the PASSWORD function for storing passwords in MySQL is up at Frank Mash&#8217;s blog. MySQL provides lots of flexibility here, as Frank shows, and on Ramblings, Stewart Smith expands on this. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MacPlusG3</title>
		<link>http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/comment-page-1/#comment-62453</link>
		<dc:creator>MacPlusG3</dc:creator>
		<pubDate>Tue, 05 Dec 2006 11:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/#comment-62453</guid>
		<description>If write access it&#039;s a different story than if it&#039;s just read access - or they get a dump of it - e.g. are able to copy the file from the file system.

Also, non-salted passwords are *really* easy to crack, so with just a copy of the data from the db (e.g. an exploit that lets you run a SELECT query on it) you can then get the full access of that user.</description>
		<content:encoded><![CDATA[<p>If write access it&#8217;s a different story than if it&#8217;s just read access &#8211; or they get a dump of it &#8211; e.g. are able to copy the file from the file system.</p>
<p>Also, non-salted passwords are *really* easy to crack, so with just a copy of the data from the db (e.g. an exploit that lets you run a SELECT query on it) you can then get the full access of that user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pamthree</title>
		<link>http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/comment-page-1/#comment-62437</link>
		<dc:creator>pamthree</dc:creator>
		<pubDate>Tue, 05 Dec 2006 10:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/#comment-62437</guid>
		<description>if any person has access to your db don&#039;t you think password hashed or not is the least matter of concern.</description>
		<content:encoded><![CDATA[<p>if any person has access to your db don&#8217;t you think password hashed or not is the least matter of concern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcel Oelke</title>
		<link>http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/comment-page-1/#comment-45654</link>
		<dc:creator>Marcel Oelke</dc:creator>
		<pubDate>Sun, 27 Aug 2006 21:02:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/#comment-45654</guid>
		<description>Hi ...

For a somehow big md5 database you may take a look at my project at http://md5.rednoize.com. Currently you can search in 5,482,473 md5 strings. E.g. you will find out the matching string for 0b73943118d782b789a9ed910b79e40e there ;)

marcel</description>
		<content:encoded><![CDATA[<p>Hi &#8230;</p>
<p>For a somehow big md5 database you may take a look at my project at <a href="http://md5.rednoize.com">http://md5.rednoize.com</a>. Currently you can search in 5,482,473 md5 strings. E.g. you will find out the matching string for 0b73943118d782b789a9ed910b79e40e there ;)</p>
<p>marcel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Mash</title>
		<link>http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/comment-page-1/#comment-45433</link>
		<dc:creator>Frank Mash</dc:creator>
		<pubDate>Fri, 25 Aug 2006 21:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/#comment-45433</guid>
		<description>Thanks for pointing that out Stewart as salting will make the SHA1 and MD5 passwords relatively &quot;more secure&quot;, however, I agree with Peter that in case the data is stolen, a unlikely but possibly event, the hash will be available to the hacker. Unless of course the salt isn&#039;t stored with the data.

Frank</description>
		<content:encoded><![CDATA[<p>Thanks for pointing that out Stewart as salting will make the SHA1 and MD5 passwords relatively &#8220;more secure&#8221;, however, I agree with Peter that in case the data is stolen, a unlikely but possibly event, the hash will be available to the hacker. Unless of course the salt isn&#8217;t stored with the data.</p>
<p>Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheeri Kritzer &#187; Blog Archive &#187; Real Password Security - My-ess-queue-ell vs. My-see-quell</title>
		<link>http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/comment-page-1/#comment-45421</link>
		<dc:creator>Sheeri Kritzer &#187; Blog Archive &#187; Real Password Security - My-ess-queue-ell vs. My-see-quell</dc:creator>
		<pubDate>Fri, 25 Aug 2006 19:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/#comment-45421</guid>
		<description>[...] With recent posts by Frank Mash and Stewart Smith about password protecting, I am reminded of all the privacy vs. security arguments we have going on in the United States. Basically, I see a somewhat similar situation &#8212; how much privacy do folks give up for the sake of security is analogous to how much calculation, how many hoops to jump through, to ensure that data is secured properly. [...]</description>
		<content:encoded><![CDATA[<p>[...] With recent posts by Frank Mash and Stewart Smith about password protecting, I am reminded of all the privacy vs. security arguments we have going on in the United States. Basically, I see a somewhat similar situation &#8212; how much privacy do folks give up for the sake of security is analogous to how much calculation, how many hoops to jump through, to ensure that data is secured properly. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Zaitsev</title>
		<link>http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/comment-page-1/#comment-45374</link>
		<dc:creator>Peter Zaitsev</dc:creator>
		<pubDate>Fri, 25 Aug 2006 08:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.flamingspork.com/blog/2006/08/25/storing-passwords-securly-in-mysql/#comment-45374</guid>
		<description>Stewart,

I think what you need to mention is what kind of attack are you trying to protect here.     If someone has stolen your database  they also have salt and this means it does not really help.    If your API is exported and does not protect from trying to brute force the password it also does not help.   It really only helps if you only got MD5s from your passwords. 

This is if you&#039;re trying to find password for _single_ account. 

Now if you want to find password for _any_ account  salting also helps, as you mention it but  for this case you better not to lose your database. 

If you have system with 100.000+ users  it is likely going to take couple of passwords to find someone, especially if it is something like web service where people trend to use simple passwords. 

This does not mean you should not use salting and other techniques of course :)</description>
		<content:encoded><![CDATA[<p>Stewart,</p>
<p>I think what you need to mention is what kind of attack are you trying to protect here.     If someone has stolen your database  they also have salt and this means it does not really help.    If your API is exported and does not protect from trying to brute force the password it also does not help.   It really only helps if you only got MD5s from your passwords. </p>
<p>This is if you&#8217;re trying to find password for _single_ account. </p>
<p>Now if you want to find password for _any_ account  salting also helps, as you mention it but  for this case you better not to lose your database. </p>
<p>If you have system with 100.000+ users  it is likely going to take couple of passwords to find someone, especially if it is something like web service where people trend to use simple passwords. </p>
<p>This does not mean you should not use salting and other techniques of course :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
