<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chris Kite &#187; Web Applications</title>
	<atom:link href="http://www.chriskite.com/category/web-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chriskite.com</link>
	<description>Programming, Computer Security, Etc.</description>
	<lastBuildDate>Wed, 24 Jun 2009 02:28:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Terrible Password Security Advice From Jakob Nielsen</title>
		<link>http://www.chriskite.com/2009/06/23/terrible-password-security-advice-from-jakob-nielsen/</link>
		<comments>http://www.chriskite.com/2009/06/23/terrible-password-security-advice-from-jakob-nielsen/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 02:28:08 +0000</pubDate>
		<dc:creator>Chris Kite</dc:creator>
				<category><![CDATA[Passwords]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web Applications]]></category>

		<guid isPermaLink="false">http://www.chriskite.com/?p=74</guid>
		<description><![CDATA[Jakob Nielsen today wrote an article calling for all log-in forms to display passwords in plaintext, rather than masking them with bullets or stars. He argues that this increases usability (users feel more confident because they can see their password as they type it), and also increases security (a more confident user will choose stronger [...]]]></description>
			<content:encoded><![CDATA[<p>Jakob Nielsen today wrote <a href="http://www.useit.com/alertbox/passwords.html">an article calling for all log-in forms to display passwords in plaintext</a>, rather than masking them with bullets or stars. He argues that this increases usability (users feel more confident because they can see their password as they type it), and also increases security (a more confident user will choose stronger passwords!).</p>
<p>I find this advice really strange. In all the password-related research studies I&#8217;ve read, and in all my conversations with computer users, I don&#8217;t think I&#8217;ve once heard someone complain that they are worried about typos in their password. People will complain at length about forgetting what their password is in the first place, and this is why most choose overly-simple passwords, or just write them down.</p>
<p>It seems like Nielsen has invented a problem where none exists. Nonetheless, he recommends that websites stop masking users&#8217; passwords as they are entered. This whole viewpoint is wrong for a number of reasons:</p>
<ol>
<li>Nielsen claims that password masking is only done today because &#8220;it was the default in the Web&#8217;s early days&#8221;. In fact, it has been the default as long as computers have used passwords as an authentication mechanism. And it&#8217;s the default for a good reason: it complicates shoulder-surfing attacks with a minimal impact on usability.</li>
<li>He also argues that displaying passwords in plaintext will increase a user&#8217;s confidence, leading to increased security because the user will choose a longer password. However, in <a href="http://www.useit.com/alertbox/20001126.html">a past article</a>, Nielsen also claimed it is a lie that &#8220;long passwords are more secure than short ones&#8221;, and declared unequivocally that &#8220;users write down their passwords&#8221;. You can&#8217;t have it both ways, Jakob.</li>
<li>For a log-in form to display the password in the clear is <strong>not the expected system behavior</strong>, and this is bad for usability. Nielsen suggests that a site could provide a check-box to enable password masking. Having to click a button to get the desired default behavior is also <strong>terrible for usability</strong>.</li>
</ol>
<p>Perhaps the most egregious error in all the article is this gem:</p>
<blockquote><p>More importantly, there&#8217;s usually nobody looking over your shoulder when you log in to a website. It&#8217;s just you, sitting all alone in your office, suffering reduced usability to protect against a non-issue.</p></blockquote>
<p>In the real world, people work in open offices, log-in to websites during presentations, browse the web with their significant-others, and expect websites to respect their privacy. But I will concede that in Jakob Nielsen&#8217;s private office, on the penthouse floor of his ivory tower, password masking is probably useless.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chriskite.com/2009/06/23/terrible-password-security-advice-from-jakob-nielsen/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>More Trouble with Twitter: The StalkDaily Worm</title>
		<link>http://www.chriskite.com/2009/04/12/more-trouble-with-twitter-the-stalkdaily-worm/</link>
		<comments>http://www.chriskite.com/2009/04/12/more-trouble-with-twitter-the-stalkdaily-worm/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 03:38:46 +0000</pubDate>
		<dc:creator>Chris Kite</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web Applications]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://www.chriskite.com/?p=55</guid>
		<description><![CDATA[Twitter has had a lot of embarrassing security problems in the past, but the worst part is that they still haven&#8217;t learned from their mistakes. Apparently a recent redesign left the profile page vulnerable to a very simple XSS attack.
Some enterprising hacker quickly seized the opportunity to promote Twitter-clone StalkDaily by infecting the profiles of [...]]]></description>
			<content:encoded><![CDATA[<p>Twitter has had a lot of embarrassing security problems in the past, but the worst part is that they still haven&#8217;t learned from their mistakes. Apparently a recent redesign left the profile page vulnerable to a very simple XSS attack.</p>
<p>Some enterprising hacker quickly seized the opportunity to promote Twitter-clone StalkDaily by infecting the profiles of hundreds of users, and using their accounts to Tweet marketing messages such as &#8220;Join www.StalkDaily.com everyone!&#8221;. StalkDaily denies any responsibility for the XSS attack. The <a href="http://gist.github.com/93782" target="_blank">source-code for the worm</a> is available, and reveals just how simple this attack really was.</p>
<p>Here is a little free advice for the developers at Twitter: install <a href="http://github.com/jamestyj/xss-shield/tree/master" target="_blank">xss-shield</a>, or start using h() to escape user-supplied strings in your templates. Since the field that was vulnerable to cross-site scripting and allowed this worm to propogate was supposed to be a URL, it might not hurt to validate that against a simple regular expression while you&#8217;re at it.</p>
<p>I&#8217;ve lost count of the number of security breaches Twitter has had in the past few months. The question now is whether they&#8217;ll hire a competent web security architect and clean-up their act.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chriskite.com/2009/04/12/more-trouble-with-twitter-the-stalkdaily-worm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
