<?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: How To Create Friendlier Random Passwords</title>
	<atom:link href="http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Sat, 07 Nov 2009 23:35:20 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: another1</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-850857</link>
		<dc:creator>another1</dc:creator>
		<pubDate>Fri, 19 Dec 2008 03:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-850857</guid>
		<description>most of the people does copy and paste because it makes them feels so nerd...</description>
		<content:encoded><![CDATA[<p>most of the people does copy and paste because it makes them feels so nerd&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Snapey</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-835471</link>
		<dc:creator>Snapey</dc:creator>
		<pubDate>Wed, 19 Nov 2008 08:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-835471</guid>
		<description>Why does it have to be a pass&lt;strong&gt;word&lt;/strong&gt;?

I recently received a letter from the UK NHS and the letter contained two english words that had to be typed in as a combination. Four weeks later I can still remember that combination. When coupled with protection against a brute force attack this can be simple and effective.

Having said that you of course have to be very careful when choosing words at random. Receiving an invitation that advises my pass phrase is &lt;em&gt;stupid moron&lt;/em&gt; would not go down to well.</description>
		<content:encoded><![CDATA[<p>Why does it have to be a pass<strong>word</strong>?</p>
<p>I recently received a letter from the UK NHS and the letter contained two english words that had to be typed in as a combination. Four weeks later I can still remember that combination. When coupled with protection against a brute force attack this can be simple and effective.</p>
<p>Having said that you of course have to be very careful when choosing words at random. Receiving an invitation that advises my pass phrase is <em>stupid moron</em> would not go down to well.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: cod3.net</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-826303</link>
		<dc:creator>cod3.net</dc:creator>
		<pubDate>Fri, 14 Nov 2008 11:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-826303</guid>
		<description>instead of your while loop you can use array_rand()
&lt;code&gt;$randomString = array_rand($characters, $length);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>instead of your while loop you can use array_rand()<br />
<code>$randomString = array_rand($characters, $length);</code></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Roderik</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-826211</link>
		<dc:creator>Roderik</dc:creator>
		<pubDate>Fri, 14 Nov 2008 07:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-826211</guid>
		<description>How about:

&lt;code&gt;
import org.apache.commons.lang.RandomStringUtils;
int size = 8;
String password = RandomStringUtils.random(size, &quot;23467abcdefhjkmnpqrstuvwxyz&quot;);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>How about:</p>
<code>
import org.apache.commons.lang.RandomStringUtils;
int size = 8;
String password = RandomStringUtils.random(size, "23467abcdefhjkmnpqrstuvwxyz");
</code>]]></content:encoded>
	</item>
	<item>
		<title>By: craiga</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-826035</link>
		<dc:creator>craiga</dc:creator>
		<pubDate>Fri, 14 Nov 2008 00:19:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-826035</guid>
		<description>@AussieJohn: I had the same thought, but the confusion between &#039;b&#039; and &#039;d&#039; seems to be the only one I could find documented. Perhaps it&#039;s the visual similarity of the characters combined with the similar sounds?

@Leo: Oops :) Fixed.

@J. Pluijmers: Absolutely agree. Rather than use CAPTCHA, I&#039;d implement some kind of system to disallow a large number of log in attempts within a period of time, or even lock out accounts once a threshold of bad attempts has been reached.

@boen_robot: Part of the point of these passwords is they&#039;re only used one time. Once the user authenticates with these passwords, they should be forced to enter one of their own choosing.

@myrdhrin: I like the look of that pronounceable password generator. It could easily be extended to take into account the idea I&#039;m suggesting here.</description>
		<content:encoded><![CDATA[<p>@AussieJohn: I had the same thought, but the confusion between &#8216;b&#8217; and &#8216;d&#8217; seems to be the only one I could find documented. Perhaps it&#8217;s the visual similarity of the characters combined with the similar sounds?</p>
<p>@Leo: Oops :) Fixed.</p>
<p>@J. Pluijmers: Absolutely agree. Rather than use CAPTCHA, I&#8217;d implement some kind of system to disallow a large number of log in attempts within a period of time, or even lock out accounts once a threshold of bad attempts has been reached.</p>
<p>@boen_robot: Part of the point of these passwords is they&#8217;re only used one time. Once the user authenticates with these passwords, they should be forced to enter one of their own choosing.</p>
<p>@myrdhrin: I like the look of that pronounceable password generator. It could easily be extended to take into account the idea I&#8217;m suggesting here.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AussieJohn</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-825947</link>
		<dc:creator>AussieJohn</dc:creator>
		<pubDate>Thu, 13 Nov 2008 21:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-825947</guid>
		<description>To be honest, I was joining Craig and only looking at the accessibility point of view. I do agree that this limits the amount of available passwords a lot. When adding in another character to these passwords, e.g. a punctuation symbol, it allows the number of passwords to increase - and increase their general complexity also.

I tend to use a pronounceable password generator as well - I have been using the one at &lt;a href=&quot;http://www.webcogs.com/passwordgenerator/&quot; rel=&quot;nofollow&quot;&gt;webcogs&lt;/a&gt; for a few years now - I generally take one of their words and pre- or append a punctuation symbol and change the case of at least one letter.</description>
		<content:encoded><![CDATA[<p>To be honest, I was joining Craig and only looking at the accessibility point of view. I do agree that this limits the amount of available passwords a lot. When adding in another character to these passwords, e.g. a punctuation symbol, it allows the number of passwords to increase &#8211; and increase their general complexity also.</p>
<p>I tend to use a pronounceable password generator as well &#8211; I have been using the one at <a href="http://www.webcogs.com/passwordgenerator/" rel="nofollow">webcogs</a> for a few years now &#8211; I generally take one of their words and pre- or append a punctuation symbol and change the case of at least one letter.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: myrdhrin</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-825901</link>
		<dc:creator>myrdhrin</dc:creator>
		<pubDate>Thu, 13 Nov 2008 19:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-825901</guid>
		<description>I&#039;m from the philosophy that to be effective a password has to be easy to remember. It does not matter how strong your password generation algorithm is if you have to write it down you it just lost all of it effectiveness.

I published a &lt;a href=&quot;http://m2i3.com/2006/11/mot-de-passe&quot; rel=&quot;nofollow&quot;&gt;pronounceable password generator&lt;/a&gt; on my website.  It generates random passwords with letters, numbers and symbol but still manages to let your pronounce (hence) memorize them.  Beats writing them down.

The algorithm is public so you can tweak it to your taste. 

anyway... my 2 cents here

Jean-Marc</description>
		<content:encoded><![CDATA[<p>I&#8217;m from the philosophy that to be effective a password has to be easy to remember. It does not matter how strong your password generation algorithm is if you have to write it down you it just lost all of it effectiveness.</p>
<p>I published a <a href="http://m2i3.com/2006/11/mot-de-passe" rel="nofollow">pronounceable password generator</a> on my website.  It generates random passwords with letters, numbers and symbol but still manages to let your pronounce (hence) memorize them.  Beats writing them down.</p>
<p>The algorithm is public so you can tweak it to your taste. </p>
<p>anyway&#8230; my 2 cents here</p>
<p>Jean-Marc</p>]]></content:encoded>
	</item>
	<item>
		<title>By: boen_robot</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-825808</link>
		<dc:creator>boen_robot</dc:creator>
		<pubDate>Thu, 13 Nov 2008 16:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-825808</guid>
		<description>Forigive me for saying this, but I&#039;ve always hated this concept. The random password generation concept that is.

Instead of trying to make users TYPE a random password, I&#039;d much rathar educate them how to COPY it and then promt them to change it on first login. Or better yet, make them create a custom password upon registrations (like most sites do already).

If generating a non-modifiable password is truly the only option, you have a bigger problem on your hands than your users&#039; acessibility problems.</description>
		<content:encoded><![CDATA[<p>Forigive me for saying this, but I&#8217;ve always hated this concept. The random password generation concept that is.</p>
<p>Instead of trying to make users TYPE a random password, I&#8217;d much rathar educate them how to COPY it and then promt them to change it on first login. Or better yet, make them create a custom password upon registrations (like most sites do already).</p>
<p>If generating a non-modifiable password is truly the only option, you have a bigger problem on your hands than your users&#8217; acessibility problems.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-825804</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Thu, 13 Nov 2008 16:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-825804</guid>
		<description>Sorry to say but script returns an error

Notice: Undefined offset: 28 in ~ on line 15

// fix
$randomCharacterIndex = rand(0,count($characters)-1)</description>
		<content:encoded><![CDATA[<p>Sorry to say but script returns an error</p>
<p>Notice: Undefined offset: 28 in ~ on line 15</p>
<p>// fix<br />
$randomCharacterIndex = rand(0,count($characters)-1)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: J. Pluijmers</title>
		<link>http://www.sitepoint.com/blogs/2008/11/13/how-to-create-friendlier-random-passwords/comment-page-1/#comment-825799</link>
		<dc:creator>J. Pluijmers</dc:creator>
		<pubDate>Thu, 13 Nov 2008 15:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=3183#comment-825799</guid>
		<description>I would strongly advise against usage of these kind of passwords. It doesn&#039;t take that long for a quadcore computer to calculate the 16 milion options and then put an automated free bruteforce tool to work with this data ie: Burp.


If you have to use these kind of credentials I urge you to install some kind of CAPTCHA so automated attacks are unlikely to succeed.


The forced password change might be a solution but a weak one at best. What if a user requested an account but never activates it? Then you still are verry vurnable to brute force.</description>
		<content:encoded><![CDATA[<p>I would strongly advise against usage of these kind of passwords. It doesn&#8217;t take that long for a quadcore computer to calculate the 16 milion options and then put an automated free bruteforce tool to work with this data ie: Burp.</p>
<p>If you have to use these kind of credentials I urge you to install some kind of CAPTCHA so automated attacks are unlikely to succeed.</p>
<p>The forced password change might be a solution but a weak one at best. What if a user requested an account but never activates it? Then you still are verry vurnable to brute force.</p>]]></content:encoded>
	</item>
</channel>
</rss>
