<?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: Looking for best practices on password recovery</title>
	<atom:link href="http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/</link>
	<description>Technologies for Learning, Thinking and Collaborating</description>
	<lastBuildDate>Tue, 07 Feb 2012 21:31:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: The Other Brian Whitmer: Universities and OpenID</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1864</link>
		<dc:creator>The Other Brian Whitmer: Universities and OpenID</dc:creator>
		<pubDate>Tue, 12 May 2009 23:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1864</guid>
		<description>[...] and OpenID    Today&#039;s post by Scott Leslie got me thinking about universities and their identity systems. The issue Scott brought up was [...]</description>
		<content:encoded><![CDATA[<p>[...] and OpenID    Today&#8217;s post by Scott Leslie got me thinking about universities and their identity systems. The issue Scott brought up was [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fozzy</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1863</link>
		<dc:creator>Fozzy</dc:creator>
		<pubDate>Mon, 22 Dec 2008 17:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1863</guid>
		<description>~Brian
&quot;First off, actually recovering a password is impossible. They’re not saved in the database (at least, they shouldn’t be). [...] Then with every login the same transformation happens and the login attempt is compared to [encrypted password] in the database.&quot;

I just wanted to clarify Brian&#039;s comment, because it&#039;s  not clear and comes across as confusing for anyone trying to educate themselves on this for the first time.

Typically the &quot;plain text&quot; (what you type in) password is encrypted via a one-way algorithm such as MD5 or SHA1 with an added &quot;salt&quot; (search &quot;password salt&quot; in Wikipedia to learn more).  That encrypted password is then stored in a database.  When the user logs in again they submit the &quot;plain text&quot; password and the system encrypts it and compares it to the encrypted password in the database.  If they match, you know they entered the correct password.

It&#039;s a little more complicated than that, but I just though I should clarify to avoid peoples confusion.

As a second note, what&#039;s the risk of a man-in-the-middle attack of retrieving the email to one&#039;s account?  Meaning, hacker goes to website, enters email address to have password resets and captures said email to reset.  Given that emails typically aren&#039;t encrypted.</description>
		<content:encoded><![CDATA[<p>~Brian<br />
&#8220;First off, actually recovering a password is impossible. They’re not saved in the database (at least, they shouldn’t be). [...] Then with every login the same transformation happens and the login attempt is compared to [encrypted password] in the database.&#8221;</p>
<p>I just wanted to clarify Brian&#8217;s comment, because it&#8217;s  not clear and comes across as confusing for anyone trying to educate themselves on this for the first time.</p>
<p>Typically the &#8220;plain text&#8221; (what you type in) password is encrypted via a one-way algorithm such as MD5 or SHA1 with an added &#8220;salt&#8221; (search &#8220;password salt&#8221; in Wikipedia to learn more).  That encrypted password is then stored in a database.  When the user logs in again they submit the &#8220;plain text&#8221; password and the system encrypts it and compares it to the encrypted password in the database.  If they match, you know they entered the correct password.</p>
<p>It&#8217;s a little more complicated than that, but I just though I should clarify to avoid peoples confusion.</p>
<p>As a second note, what&#8217;s the risk of a man-in-the-middle attack of retrieving the email to one&#8217;s account?  Meaning, hacker goes to website, enters email address to have password resets and captures said email to reset.  Given that emails typically aren&#8217;t encrypted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rdsc</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1862</link>
		<dc:creator>rdsc</dc:creator>
		<pubDate>Wed, 19 Nov 2008 01:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1862</guid>
		<description>Bruce Schneier recommends that you write them down:
http://www.schneier.com/blog/archives/2005/06/write_down_your.html

He also made a very cogent comment about how password recovery systems need to be at least as strong as the password policy they&#039;re attached to, or they become the weak link which any sensible attacker uses to gain the access they&#039;re seeking - vis a vis the Palin &quot;hack&quot;:
http://www.schneier.com/blog/archives/2005/02/the_curse_of_th.html

I think the bottom line is that if you&#039;re serious about passwords (ie - believe that they&#039;re necessary when you use them) then you don&#039;t want a simple way of recovering them.  You want a secure way of recovering them.</description>
		<content:encoded><![CDATA[<p>Bruce Schneier recommends that you write them down:<br />
<a href="http://www.schneier.com/blog/archives/2005/06/write_down_your.html" rel="nofollow">http://www.schneier.com/blog/archives/2005/06/write_down_your.html</a></p>
<p>He also made a very cogent comment about how password recovery systems need to be at least as strong as the password policy they&#8217;re attached to, or they become the weak link which any sensible attacker uses to gain the access they&#8217;re seeking &#8211; vis a vis the Palin &#8220;hack&#8221;:<br />
<a href="http://www.schneier.com/blog/archives/2005/02/the_curse_of_th.html" rel="nofollow">http://www.schneier.com/blog/archives/2005/02/the_curse_of_th.html</a></p>
<p>I think the bottom line is that if you&#8217;re serious about passwords (ie &#8211; believe that they&#8217;re necessary when you use them) then you don&#8217;t want a simple way of recovering them.  You want a secure way of recovering them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Whitmer</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1861</link>
		<dc:creator>Brian Whitmer</dc:creator>
		<pubDate>Sun, 16 Nov 2008 03:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1861</guid>
		<description>Mike,

I&#039;d agree that OpenID, in its current state, is not the optimal solution.  There are actually other protocols out there that would probably be better, but don&#039;t have the traction that OpenID does.  As far as password resetting goes, OpenID doesn&#039;t say what to do, so providers can make it as painless as they like, and implement all the features you mentioned.

OpenID&#039;s biggest hurdle is that to log in you don&#039;t give a user name, you give a url.  That&#039;s pretty weird, and doesn&#039;t jive with people.  I want to log in as bobby_jones, not http://myopenid.provider.net/user/bobby_jones.  The url doesn&#039;t even make sense to me.  They&#039;re actually working on ways to fix that, which is a must if they ever want to go mainstream.

Your summary was great, by the way.  As far as I know that&#039;s pretty much the basic best practice summary.  And while I&#039;d agree it&#039;s true that there&#039;s a cognitive disconnect between mobile phones and web apps, that boundary is rapidly shrinking.  Mobile phones are great identifiers both because they&#039;re hard to eavesdrop upon and because they&#039;re difficult to acquire -- spammers can&#039;t randomly sign up for thousands of different cell numbers, so accounts linked to phones are going to be pretty genuine.  For better or for worse, I think we&#039;ll be seeing more services associating accounts with mobile phone numbers.</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>I&#8217;d agree that OpenID, in its current state, is not the optimal solution.  There are actually other protocols out there that would probably be better, but don&#8217;t have the traction that OpenID does.  As far as password resetting goes, OpenID doesn&#8217;t say what to do, so providers can make it as painless as they like, and implement all the features you mentioned.</p>
<p>OpenID&#8217;s biggest hurdle is that to log in you don&#8217;t give a user name, you give a url.  That&#8217;s pretty weird, and doesn&#8217;t jive with people.  I want to log in as bobby_jones, not <a href="http://myopenid.provider.net/user/bobby_jones" rel="nofollow">http://myopenid.provider.net/user/bobby_jones</a>.  The url doesn&#8217;t even make sense to me.  They&#8217;re actually working on ways to fix that, which is a must if they ever want to go mainstream.</p>
<p>Your summary was great, by the way.  As far as I know that&#8217;s pretty much the basic best practice summary.  And while I&#8217;d agree it&#8217;s true that there&#8217;s a cognitive disconnect between mobile phones and web apps, that boundary is rapidly shrinking.  Mobile phones are great identifiers both because they&#8217;re hard to eavesdrop upon and because they&#8217;re difficult to acquire &#8212; spammers can&#8217;t randomly sign up for thousands of different cell numbers, so accounts linked to phones are going to be pretty genuine.  For better or for worse, I think we&#8217;ll be seeing more services associating accounts with mobile phone numbers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Ellis</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1860</link>
		<dc:creator>Mike Ellis</dc:creator>
		<pubDate>Sat, 15 Nov 2008 20:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1860</guid>
		<description>Scott

Learning from the commercial / web2 world is probably the best way. Given that one of your posters points out that good practice prevents retrieval of a password, the most usable solution is:

1. Prompt user to put in their email address
2. Send that user an email (and include message like &quot;someone, hopefully you, requested a password reminder. We can&#039;t tell you your password for security reasons, but go here to reset it. If you didn&#039;t request this, please just ignore this email&quot;
3. Link has hashed id which proves verification of email address. User clicks link, gets to page with option to reset password. In a shared environment, don&#039;t log them in after they&#039;ve changed it but say &quot;now log in&quot;...

That&#039;s it. Using mobiles is a good solution in one way (as Brian says, it&#039;s easy to do, and hard to fake) but there are fairly serious usability issues with this - IMO non-technical users aren&#039;t 100% clear on how &quot;the web&quot; and &quot;the non-web&quot; are connected. However, the mobile option could be offered as an option. If you do do this, by far and away the easiest way is to text the user a 4-number PIN which then then have to key into the site. That prevents having an additional stage of receiving a password as Brian suggests. Overall, this all needs to be trivially easy to the end user. Which is why OpenID doesn&#039;t work :-)

Cheers

Mike</description>
		<content:encoded><![CDATA[<p>Scott</p>
<p>Learning from the commercial / web2 world is probably the best way. Given that one of your posters points out that good practice prevents retrieval of a password, the most usable solution is:</p>
<p>1. Prompt user to put in their email address<br />
2. Send that user an email (and include message like &#8220;someone, hopefully you, requested a password reminder. We can&#8217;t tell you your password for security reasons, but go here to reset it. If you didn&#8217;t request this, please just ignore this email&#8221;<br />
3. Link has hashed id which proves verification of email address. User clicks link, gets to page with option to reset password. In a shared environment, don&#8217;t log them in after they&#8217;ve changed it but say &#8220;now log in&#8221;&#8230;</p>
<p>That&#8217;s it. Using mobiles is a good solution in one way (as Brian says, it&#8217;s easy to do, and hard to fake) but there are fairly serious usability issues with this &#8211; IMO non-technical users aren&#8217;t 100% clear on how &#8220;the web&#8221; and &#8220;the non-web&#8221; are connected. However, the mobile option could be offered as an option. If you do do this, by far and away the easiest way is to text the user a 4-number PIN which then then have to key into the site. That prevents having an additional stage of receiving a password as Brian suggests. Overall, this all needs to be trivially easy to the end user. Which is why OpenID doesn&#8217;t work <img src='http://www.edtechpost.ca/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Cheers</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1859</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 14 Nov 2008 23:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1859</guid>
		<description>Brian, thank you for this thoughtful reply. It is helpful. And, by the way, another great textbook example I will point out to people about how to grow your personal network - I had never seen your blog before, but after this thoughtful comment I checked it out and am very interested to follow it now. Cheers, Scott</description>
		<content:encoded><![CDATA[<p>Brian, thank you for this thoughtful reply. It is helpful. And, by the way, another great textbook example I will point out to people about how to grow your personal network &#8211; I had never seen your blog before, but after this thoughtful comment I checked it out and am very interested to follow it now. Cheers, Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Whitmer</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1858</link>
		<dc:creator>Brian Whitmer</dc:creator>
		<pubDate>Fri, 14 Nov 2008 23:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1858</guid>
		<description>Scott,

Interesting observation, although password management is actually a difficult problem at the moment -- it&#039;s the same issue that cryptography faces with the loss of a private key.  The password was supposed to be the secure verifier, so how do you verify without the verifier?

First off, actually recovering a password is impossible.  They&#039;re not saved in the database (at least, they shouldn&#039;t be).  The system takes the password and runs it through a complicated one-way transformation so if the database is ever hacked the passwords can&#039;t be discovered.  Then with every login the same transformation happens and the login attempt is compared to what&#039;s in the database.  At best all you can do is re-set a password.

So how do you reset a password?  It would obviously be ideal for the process to be automated, and one way to do that is to have an additional communication method set up.  This is pretty common, where you specify an email addressed to be associated with your username.  Then if you forget your password, you submit your username and the system will email you the re-set password (note that you gain one bit of added security if the user doesn&#039;t have to specify their email address, just the username.  That way an impersonator has to know both the username AND the matching address, which is never communicated in the resetting process).

The problem here is that a malicious individual can just throw out random usernames and get everybody&#039;s passwords reset.  Not necessarily dangerous, but annoying.  So sites are starting to send specially crafted emails that the user has to click on before the password will be re-set.  The email has a unique unguessable (long) chunk of text that can be checked to make sure the person clicking the link has access to the original email.  Now all a malicious user can do is send a single reset email that can easily be ignored (also interesting, this approach can actually be taken a step farther to eliminate password altogher, an approach called SAW - http://isrl.cs.byu.edu/pubs/pp1001.pdf).

What I think would be cool is to use mobile phone numbers instead of emails.  So a student registers their cell phone, then if they forget their password they get a text asking if they want to re-set their password, and they can response with &quot;yes&quot; or with what the password should be set to.  Phone numbers have the added benefit of being harder to intercept (you can&#039;t just hack it online, you have to get the physical phone).

I guess that&#039;s long enough -- and hopefully useful.


Larry,

It&#039;s not &quot;our&quot; fault.  It&#039;s the software vendors.  They have some catching up to do on handling lost passwords.  And actually, with managing logins in general.  There are some new movements going on (OpenID being the big one) that aim to make single sign-on actually feasible.  We need to pressure the software vendors to actually look at leveraging these new tools -- or it probably won&#039;t happen :-).</description>
		<content:encoded><![CDATA[<p>Scott,</p>
<p>Interesting observation, although password management is actually a difficult problem at the moment &#8212; it&#8217;s the same issue that cryptography faces with the loss of a private key.  The password was supposed to be the secure verifier, so how do you verify without the verifier?</p>
<p>First off, actually recovering a password is impossible.  They&#8217;re not saved in the database (at least, they shouldn&#8217;t be).  The system takes the password and runs it through a complicated one-way transformation so if the database is ever hacked the passwords can&#8217;t be discovered.  Then with every login the same transformation happens and the login attempt is compared to what&#8217;s in the database.  At best all you can do is re-set a password.</p>
<p>So how do you reset a password?  It would obviously be ideal for the process to be automated, and one way to do that is to have an additional communication method set up.  This is pretty common, where you specify an email addressed to be associated with your username.  Then if you forget your password, you submit your username and the system will email you the re-set password (note that you gain one bit of added security if the user doesn&#8217;t have to specify their email address, just the username.  That way an impersonator has to know both the username AND the matching address, which is never communicated in the resetting process).</p>
<p>The problem here is that a malicious individual can just throw out random usernames and get everybody&#8217;s passwords reset.  Not necessarily dangerous, but annoying.  So sites are starting to send specially crafted emails that the user has to click on before the password will be re-set.  The email has a unique unguessable (long) chunk of text that can be checked to make sure the person clicking the link has access to the original email.  Now all a malicious user can do is send a single reset email that can easily be ignored (also interesting, this approach can actually be taken a step farther to eliminate password altogher, an approach called SAW &#8211; <a href="http://isrl.cs.byu.edu/pubs/pp1001.pdf)" rel="nofollow">http://isrl.cs.byu.edu/pubs/pp1001.pdf)</a>.</p>
<p>What I think would be cool is to use mobile phone numbers instead of emails.  So a student registers their cell phone, then if they forget their password they get a text asking if they want to re-set their password, and they can response with &#8220;yes&#8221; or with what the password should be set to.  Phone numbers have the added benefit of being harder to intercept (you can&#8217;t just hack it online, you have to get the physical phone).</p>
<p>I guess that&#8217;s long enough &#8212; and hopefully useful.</p>
<p>Larry,</p>
<p>It&#8217;s not &#8220;our&#8221; fault.  It&#8217;s the software vendors.  They have some catching up to do on handling lost passwords.  And actually, with managing logins in general.  There are some new movements going on (OpenID being the big one) that aim to make single sign-on actually feasible.  We need to pressure the software vendors to actually look at leveraging these new tools &#8212; or it probably won&#8217;t happen <img src='http://www.edtechpost.ca/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lanny Arvan</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1857</link>
		<dc:creator>Lanny Arvan</dc:creator>
		<pubDate>Fri, 14 Nov 2008 23:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1857</guid>
		<description>Perhaps I&#039;m thinking about this wrong, but in my opinion the real issue is whether the (student) user is on the same computer all the time, in which case the storage app for passwords is the browser.  It remembers.  If a user is on a lab machine - what then?

Also, frankly, the commercial world really has this figured out and we don&#039;t.  If I forget my password to amazon or expedia, I go to there site, type in my email address, and I get a message sent to my email and they allow a reset, very convenient.  It&#039;s harder with Campus apps.  Why?

Lanny</description>
		<content:encoded><![CDATA[<p>Perhaps I&#8217;m thinking about this wrong, but in my opinion the real issue is whether the (student) user is on the same computer all the time, in which case the storage app for passwords is the browser.  It remembers.  If a user is on a lab machine &#8211; what then?</p>
<p>Also, frankly, the commercial world really has this figured out and we don&#8217;t.  If I forget my password to amazon or expedia, I go to there site, type in my email address, and I get a message sent to my email and they allow a reset, very convenient.  It&#8217;s harder with Campus apps.  Why?</p>
<p>Lanny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1856</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 14 Nov 2008 19:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1856</guid>
		<description>Chris, I think your suggestion is a good one in general and an alternative strategy to pursue at institutions, especially in conjunction with making passwords/accounts simpler to retrieve.</description>
		<content:encoded><![CDATA[<p>Chris, I think your suggestion is a good one in general and an alternative strategy to pursue at institutions, especially in conjunction with making passwords/accounts simpler to retrieve.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Lott</title>
		<link>http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1855</link>
		<dc:creator>Chris Lott</dc:creator>
		<pubDate>Fri, 14 Nov 2008 18:48:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.edtechpost.ca/wordpress/2008/11/14/best-password-recovery/#comment-1855</guid>
		<description>I have no idea about password recovery practices, but I will note that my strategy for a while now has been to, instead, push the use of password storage apps. Which of course has the &quot;locker combo in the locker&quot; problem if that single password is forgotten, but people seem better at remembering a single uber-password when they get in trouble...</description>
		<content:encoded><![CDATA[<p>I have no idea about password recovery practices, but I will note that my strategy for a while now has been to, instead, push the use of password storage apps. Which of course has the &#8220;locker combo in the locker&#8221; problem if that single password is forgotten, but people seem better at remembering a single uber-password when they get in trouble&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 351/360 objects using disk: basic
Content Delivery Network via www.edtechpost.ca

Served from: www.edtechpost.ca @ 2012-02-08 13:54:15 -->
