<?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: Website authorization &#8211; my solution</title>
	<atom:link href="http://perl.baczynski.com/cpan/website-authorization-my-solution/feed" rel="self" type="application/rss+xml" />
	<link>http://perl.baczynski.com/cpan/website-authorization-my-solution</link>
	<description>Perl, CPAN, YAPC... et ceatera</description>
	<lastBuildDate>Thu, 28 Jul 2011 08:50:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lech</title>
		<link>http://perl.baczynski.com/cpan/website-authorization-my-solution/comment-page-1#comment-95</link>
		<dc:creator>Lech</dc:creator>
		<pubDate>Thu, 12 Nov 2009 04:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://perl.baczynski.com/?p=130#comment-95</guid>
		<description>@Simon: yes, this is true - is someone steals cookie (and do not let it expire :-) ) he can log in. This is why this solution made me unease - &quot;The only advantage is that the password is not stored in cookie – but it is not needed, as just the digest is needed to pretend to be logged in.&quot;

@mj41: yes, this isn’t a temporary token, as I did not implement what the design pattern said. Now I am wondering whther I should do this, or is the solution good enough.</description>
		<content:encoded><![CDATA[<p>@Simon: yes, this is true &#8211; is someone steals cookie (and do not let it expire <img src='http://perl.baczynski.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) he can log in. This is why this solution made me unease &#8211; &#8220;The only advantage is that the password is not stored in cookie – but it is not needed, as just the digest is needed to pretend to be logged in.&#8221;</p>
<p>@mj41: yes, this isn’t a temporary token, as I did not implement what the design pattern said. Now I am wondering whther I should do this, or is the solution good enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mj41</title>
		<link>http://perl.baczynski.com/cpan/website-authorization-my-solution/comment-page-1#comment-94</link>
		<dc:creator>mj41</dc:creator>
		<pubDate>Wed, 11 Nov 2009 17:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://perl.baczynski.com/?p=130#comment-94</guid>
		<description>&quot;Crypted password from database&quot; isn&#039;t a temporary token. E.g it can be used after user do logout.</description>
		<content:encoded><![CDATA[<p>&#8220;Crypted password from database&#8221; isn&#8217;t a temporary token. E.g it can be used after user do logout.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Peters</title>
		<link>http://perl.baczynski.com/cpan/website-authorization-my-solution/comment-page-1#comment-93</link>
		<dc:creator>Michael Peters</dc:creator>
		<pubDate>Wed, 11 Nov 2009 14:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://perl.baczynski.com/?p=130#comment-93</guid>
		<description>The main reason is to not store the password as plain text in the database. Perl Monks did this and when they got hacked lots of accounts were exposed. People who used Perl Monks had to run around and make sure they weren&#039;t using the same login credentials on any other site. And you store them hashed with a salt so that if you get hacked, no one can use a Rainbow Table to crack the hashes.</description>
		<content:encoded><![CDATA[<p>The main reason is to not store the password as plain text in the database. Perl Monks did this and when they got hacked lots of accounts were exposed. People who used Perl Monks had to run around and make sure they weren&#8217;t using the same login credentials on any other site. And you store them hashed with a salt so that if you get hacked, no one can use a Rainbow Table to crack the hashes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Wilcox</title>
		<link>http://perl.baczynski.com/cpan/website-authorization-my-solution/comment-page-1#comment-92</link>
		<dc:creator>Simon Wilcox</dc:creator>
		<pubDate>Wed, 11 Nov 2009 09:24:45 +0000</pubDate>
		<guid isPermaLink="false">http://perl.baczynski.com/?p=130#comment-92</guid>
		<description>Terrible idea. As soon as someone steals the cookie they can impersonate the user and access the system. The only way to invalidate the cookie is to change the password.

Or am I misunderstanding how your scheme works ?

Simon.</description>
		<content:encoded><![CDATA[<p>Terrible idea. As soon as someone steals the cookie they can impersonate the user and access the system. The only way to invalidate the cookie is to change the password.</p>
<p>Or am I misunderstanding how your scheme works ?</p>
<p>Simon.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

