<?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>Techrudite &#187; security</title>
	<atom:link href="http://techrudite.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://techrudite.com</link>
	<description>Thoughts on Software, Gov2.0, Mobile, Scale and Speed</description>
	<lastBuildDate>Thu, 22 Apr 2010 14:41:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HTTP Basic in Mobile Apps</title>
		<link>http://techrudite.com/2010/http-basic-in-mobile-apps/</link>
		<comments>http://techrudite.com/2010/http-basic-in-mobile-apps/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 05:53:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://techrudite.com/?p=45</guid>
		<description><![CDATA[Basic Auth vulnerability is very common in mobile applications, not just Foursquare.]]></description>
			<content:encoded><![CDATA[<p><a href="http://techrudite.com/wp-content/uploads/2010/02/3859852351_d65f71267b_m1.jpg"><img class="alignnone size-full wp-image-47" style="float: right;" title="Open Lock" src="http://techrudite.com/wp-content/uploads/2010/02/3859852351_d65f71267b_m1.jpg" alt="" width="200" height="240" /></a></p>
<p><a href="http://intrepidusgroup.com/insight/2010/02/im-in-ur-4sq-snarfin-ur-password-part-i/" target="_blank">This blog post</a> which is making rounds on Twitter tonight highlights a problem with FourSquare, which sounds pretty scary. But if that&#8217;s scary, you should see many of the other APIs that mobile apps use &#8212; including many apps you probably use every day. This problem is a lot more common than people may realize.</p>
<p>In fact, it affects most Twitter apps that we use on our phones. Twitter realizes this, and has tried to <a href="http://apiwiki.twitter.com/Authentication" target="_blank">phase out the use of Basic Authentication </a>in their API. At one point they even announced an end to Basic Auth for all new apps, but had to reverse that decision because of developer resistance. Their official policy now is they really want this to go away some day:</p>
<p><span style="color: #333399;">&#8220;OAuth is the Twitter preferred method of authentication moving forward. While we have no plans in the near term to require OAuth, new applications should consider it best practice to develop for OAuth.  We eventually would like to suspend Basic Auth support. However we realize that Basic Auth has been a large part of the API&#8217;s success, and that the barrier to entry if OAuth is the only solution is substantially higher.&#8221;</span></p>
<p><span style="color: #000000;"><a href="http://oauth.net/" target="_blank">OAuth</a> is, of course, the right answer to this issue. But it can be tricky to implement (for developers) in native apps. And, perhaps more significantly, it can be a little confusing (arguably even a little disconcerting) for users as they get kicked out to the Twitter site to &#8220;approve&#8221; access for this new application they just downloaded. If you understand OAuth, it&#8217;s easy to see this is more secure than giving some app your Twitter password, but explaining that to a user and having them go through the process is often difficult.</span></p>
<p>So, yes, FourSquare and Twitter and everyone else should implement and require OAuth (and deprecate HTTP Basic), but it&#8217;s not their fault that this is not really feasible yet. One thing that I think would really help is OS level support, especially in the user experience for OAuth. I would envision something similar  to how Apple implemented seamless login to restricted WiFi hotspots. If OAuth can be seamlessly weaved into the OS like that (with direct API support), then I&#8217;m sure most mobile developers and web services would leverage that quickly. Nobody likes Basic Authentication, but right now it&#8217;s just the easiest way to do things.</p>
]]></content:encoded>
			<wfw:commentRss>http://techrudite.com/2010/http-basic-in-mobile-apps/feed/</wfw:commentRss>
		<slash:comments>112</slash:comments>
		</item>
	</channel>
</rss>

