<?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>Benlog</title>
	<atom:link href="http://benlog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://benlog.com</link>
	<description>security, privacy, transparency.</description>
	<lastBuildDate>Thu, 02 Sep 2010 19:31:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>an unwarranted bashing of Twitter&#8217;s oAuth</title>
		<link>http://benlog.com/articles/2010/09/02/an-unwarranted-bashing-of-twitters-oauth/</link>
		<comments>http://benlog.com/articles/2010/09/02/an-unwarranted-bashing-of-twitters-oauth/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 19:31:25 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1290</guid>
		<description><![CDATA[Ryan Paul over at ArsTechnica claims a compromise of Twitter&#8217;s oAuth system, but fails to demonstrate such a compromise. It&#8217;s unfortunate, because some of his comments are indeed worthwhile, and there are a few interesting recommendations that Twitter should follow (hah, no pun intended). But what we have here is not a &#8220;compromise&#8221;, and the [...]]]></description>
			<content:encoded><![CDATA[<p>Ryan Paul over at ArsTechnica claims a <a href="http://arstechnica.com/security/guides/2010/09/twitter-a-case-study-on-how-to-do-oauth-wrong.ars">compromise of Twitter&#8217;s oAuth system</a>, but fails to demonstrate such a compromise. It&#8217;s unfortunate, because some of his comments are indeed worthwhile, and there are a few interesting recommendations that Twitter should follow (hah, no pun intended). But what we have here is not a &#8220;compromise&#8221;, and the citation-and-reasoning-free fear-mongering about oAuth is poor reporting.</p>
<h4>the consumer secret is not important</h4>
<p>The article&#8217;s main argument is that the oAuth consumer secret is embedded in desktop clients and can be extracted. Yes. That sounds really bad doesn&#8217;t it? Except, as the article itself says:</p>
<blockquote><p>
It&#8217;s very important to understand that a compromised consumer secret key doesn&#8217;t jeopardize the security of the users of the application. The key can&#8217;t be used to gain access to the accounts of other users, because accessing an individual account requires an access token that individual instances of the client application obtain automatically on behalf of the user during the authorization process.
</p></blockquote>
<p>Ahah, you say, but the article also says:</p>
<blockquote><p>
the problem is how Twitter is using the key
</p></blockquote>
<p>Oh no! What are they possibly doing with this key that they shouldn&#8217;t be doing? </p>
<blockquote><p>
These keys are particularly significant because Twitter has configured them to enable access to special APIs which aren&#8217;t generally available yet that can be used to exchange login credentials for an access token
</p></blockquote>
<p>So in other words, with a consumer secret, you can exchange a username/password for an oAuth access token. That&#8217;s not ideal, because it means that we&#8217;re back to clients proxying usernames and passwords, but how is that a compromise? If an app successfully captures your username and password, and the app is evil, you&#8217;re screwed already! In fact, it&#8217;s probably a <em>good thing</em> that Twitter then pivots and says &#8220;ok, fine you got the password, but can you please just exchange it for this access token now and not store the password?&#8221; Furthermore, Twitter even says that this approach, which they call <a href="http://dev.twitter.com/pages/auth_overview">xauth</a>, is the &#8220;least desirable way to authenticate,&#8221; and they require apps that want to use this feature to request special approval.</p>
<p>I don&#8217;t see a security compromise here. I see a complicated set of design issues on which Twitter is trying to make practical security decisions. It&#8217;s certainly reasonable to disagree with them, but it&#8217;s unwarranted to claim that oAuth security has been &#8220;compromised&#8221; or that Twitter made this decision &#8220;against all reason.&#8221;</p>
<h4>spamming is a darn good explanation</h4>
<p>The article says:</p>
<blockquote><p>
The issue here is that Twitter wants to use the keys as an abuse control mechanism to centrally disconnect spammers and other unwanted users of the service, but OAuth was simply not designed to be used for that purpose. The idea is that centrally disabling a spammer&#8217;s consumer secret key will lock out all of the spammer&#8217;s user accounts, theoretically simplifying spam control for Twitter. It&#8217;s unlikely that this naive strategy will work in practice, however.</p>
<p>Any spammer with a hex editor can trivially compromise the keys of popular applications and use those keys to evade Twitter&#8217;s abuse controls.
</p></blockquote>
<p>Ummm, no. As the article itself states, a spammer who takes another application&#8217;s keys <em>still doesn&#8217;t have the access tokens</em>, and so it cannot spam.</p>
<p>In fact, spamming is a very good reasons for Twitter&#8217;s use of consumer keys and secrets even in desktop clients: a spammer in this case is going to be an application that <em>has legitimately authorized</em> a bunch of users, and then decides to go crazy and spam their feeds. In that scenario, Twitter can very easily temporarily disable that one consumer key+secret, or throttle it, or kill it altogether, without having to trace down all the access tokens that consumer generated. I like this reason a lot.</p>
<h4>increase the risk of phishing? No</h4>
<p>In the past, I&#8217;ve been critical of OpenID for increasing the risk of phishing. So one might think I would agree with the article when it says:</p>
<blockquote><p>
Individual implementations aside, the general concept behind OAuth&#8217;s redirection-based authorization process materially increases the risk of phishing. The people behind the standard are fully aware of that fact, but they don&#8217;t believe that the issue should necessarily be addressed by the standard itself.
</p></blockquote>
<p>I think that&#8217;s wrong. There&#8217;s a key difference here: what&#8217;s the alternative to oAuth? The alternative is <a href="http://benlog.com/articles/2007/10/12/the-password-anti-pattern-and-the-login-redirection-anti-pattern/">the password anti-pattern</a>, where all those third-party apps capture your username and password. So sure, it  would be good if oAuth providers had more phishing-resistant login mechanisms, say like <a href="http://benlog.com/articles/2007/02/06/beamauth-two-factor-web-authentication-with-a-bookmark/">BeamAuth</a> (shameless plug). But, on the whole, oAuth is still a heck of a lot less phishing-prone than the password anti-pattern it&#8217;s trying to replace.</p>
<h4>open-source and DOS: fair points</h4>
<p>The article does make a fair point about open-source software, JavaScript-based clients, and generally the possibility that some loser might sabotage a legitimate app by copying a consumer token and secret and abusing it. If that happens a lot, then Twitter will certainly have to come up with a new approach. But let&#8217;s at least understand that <em>there is no good approach to this problem</em>. If no attempt is made at tracking which client is which, then one bad spamming apple could ruin it for everyone, since there&#8217;s no way to differentiate the good from the bad. Twitter may have to rethink its automatic consumer-kill policy and become a bit more nuanced, but that&#8217;s just a policy decision. At the protocol level, I don&#8217;t know how they could do much better, given that even closed-source software, as pointed out by the article, can be easily disassembled.</p>
<h4>override the callback URL? That&#8217;s a good point</h4>
<p>The article claims that an attacker can change the callback URL in a Twitter oAuth session, which would indeed enable a very sneaky phishing attack. I didn&#8217;t think that was the case, but it <a href="http://dev.twitter.com/pages/auth">may be</a>. I agree with the article&#8217;s take on this:</p>
<blockquote><p>
Ideally, OAuth implementors should require application developers to supply the callback address when they configure their key and should not allow that setting to be overridden by the client application in a request parameter. Twitter has a field in the key configuration that allows the developers to specify a default, but they still allow client applications to use the dangerous callback override parameter.
</p></blockquote>
<p>I think the article is right on this point. There are many reasons to disallow callback overrides, and there&#8217;s no good reason for it: oAuth web apps need cookie-based session support anyways to complete the oAuth process, there&#8217;s no need to dynamically add state to the callback URL. It would be good to do away with this &#8220;feature.&#8221;</p>
<h4>a few very good small points</h4>
<p>The article makes some very good smaller points that Twitter (and other oAuth providers) should heed:</p>
<ul>
<li> debugging oAuth is hard, and having more explicit error messages is a good idea</li>
<li> logging out is confusing: if you log out of the app, are you logged out of the oAuth identity provider? Flickr does this very well with Yahoo ID integration, so oAuth and Twitter should indeed provide more guidance on this front.</li>
<li> giving users more cues for trusting certain apps is probably a good idea. This can evolve over time, though, and the protocol won&#8217;t need to change.</li>
</ul>
<p>These are all useful points. But they&#8217;re small, and they do not warrant a big scary title.</p>
<h4>all hail oAuth 2.0!</h4>
<p>The most confusing part of the article is the constant harping on oAuth 1.0a as &#8220;immature&#8221; when it has been deployed by dozens of high-profile providers, and the constant praise of oAuth 2.0, which has only <em>just</em> been released and actually weakens security to make developers&#8217; lives easier (I&#8217;ve <a href="http://benlog.com/articles/2009/12/22/its-a-wrap/">written before about the oAuth 2.0 problems</a>). It&#8217;s possible that oAuth 2.0 is much better in ways I haven&#8217;t considered, but where&#8217;s the evidence? The article doesn&#8217;t say.</p>
<h4>unnecessary insults</h4>
<p>The article concludes:</p>
<blockquote><p>
Although I think that OAuth is salvageable and may eventually live up to the hype, my opinion of Twitter is less positive. The service seriously botched its OAuth implementation and demonstrated, yet again, that it lacks the engineering competence that is needed to reliably operate its service. Twitter should review the OAuth standard and take a close look at how Google and Facebook are using OAuth for guidance about the proper approach.
</p></blockquote>
<p>There&#8217;s no evidence of this so-called &#8220;botched&#8221; job. Sure, some smaller points are absolutely worth considering, and I applaud the author for digging deep on some of these. But I find unfortunate the overall tone of the article, the baseless and gross exaggerations, and the condescending writing that ignores reasonable justifications for Twitter&#8217;s decisions.</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/09/02/an-unwarranted-bashing-of-twitters-oauth/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Usenix Security, voting and health security</title>
		<link>http://benlog.com/articles/2010/08/09/usenix-security-voting-and-health-security/</link>
		<comments>http://benlog.com/articles/2010/08/09/usenix-security-voting-and-health-security/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 16:24:48 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[voting]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1281</guid>
		<description><![CDATA[I&#8217;m at Usenix Security 2010 in DC, starting with the EVT/WOTE Workshop on voting where I&#8217;ll be presenting an update on Helios, then the HealthSec workshop where I&#8217;ll be on a panel discussing my paper with Zak Kohane and Ken Mandl on using a Personally Controlled Health Record for health-information exchange [PDF]. The voting crowd [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m at <a href="http://www.usenix.org/events/sec10/">Usenix Security 2010</a> in DC, starting with the <a href="http://www.usenix.org/events/evtwote10/">EVT/WOTE Workshop on voting</a> where I&#8217;ll be presenting an update on <a href="http://heliosvoting.org">Helios</a>, then the <a href="http://www.usenix.org/events/healthsec10/">HealthSec workshop</a> where I&#8217;ll be on a panel discussing my paper with Zak Kohane and Ken Mandl on using a Personally Controlled Health Record for health-information exchange [<a href="http://ben.adida.net/research/pchr-hie-2010-08.pdf">PDF</a>].</p>
<p>The voting crowd is emerging from a 2-day workshop with election officials on remote voting for military and overseas voters. I&#8217;m trying to get a sense of attendees&#8217; impressions from that workshop, but suffice it to say that it seems to have been &#8220;exciting.&#8221; Ron Rivest compared online voting for public-office elections to drunk driving, as in &#8220;there&#8217;s no good way to do it,&#8221; and that apparently didn&#8217;t go over very well with some folks. I agree with the metaphor, however harsh it may seem.</p>
<p>Meanwhile, there is plenty of room for online voting in the numerous elections people hold that are not for public office: corporate boards, clubs, student government, etc. That&#8217;s why I&#8217;m excited that last night, we released Helios v3. Try it out right now by voting in our <a href="https://vote.heliosvoting.org/helios/e/p-vs-np">super geeky sample election</a> and in a <a href="https://vote.heliosvoting.org/helios/e/wyclef-haiti">current-events election (Wyclef for Haiti?)</a>.</p>
<p>More than 25,000 votes have been cast using Helios technology. We&#8217;ve learned some very interesting lessons already, and there are many more to come. I&#8217;m hoping that, as we add more social aspects to Helios, we&#8217;ll see more usage, more data, and a unique chance to improve the technology based on real-world experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/08/09/usenix-security-voting-and-health-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>browser extensions = user freedom</title>
		<link>http://benlog.com/articles/2010/06/05/browser-extensions-user-freedom/</link>
		<comments>http://benlog.com/articles/2010/06/05/browser-extensions-user-freedom/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 01:29:58 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[autonomy]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1248</guid>
		<description><![CDATA[The web browser has become the universal trusted client. That can be good: users can mostly rely on their browsers to isolate their banking site from the other web sites they visit. It can also be bad for users&#8217; freedom: Facebook can encourage the world to add &#8220;Like&#8221; buttons everywhere, and suddenly users are being [...]]]></description>
			<content:encoded><![CDATA[<p>The web browser has become the universal trusted client. That can be good: users can mostly rely on their browsers to isolate their banking site from the other web sites they visit. It can also be bad for users&#8217; freedom: Facebook can encourage the world to add &#8220;Like&#8221; buttons everywhere, and suddenly users are being <a href="http://news.cnet.com/8301-13578_3-20006532-38.html">tracked across the web by Facebook IFRAMEs</a>. Web browsers don&#8217;t <em>have</em> to send cookies to Facebook in those IFRAMEs, but if they don&#8217;t, they will appear to be broken, and so browsers tend to stick to existing standard behaviors.</p>
<p>Browser extensions, or add-ons, can help address this issue. They can modify the behavior of specific web sites by making the browser defend user control and privacy more aggressively: they can block ads, block flash, block cookies for certain domains, add extra links for convenience (i.e. direct links to Flickr&#8217;s original resolution), etc.. Browser extensions empower users to actively defend their freedom and privacy, to push back on the more egregious actions of certain web publishers.</p>
<p>Except in the mobile space. Think about the iPhone browser. Apple disallows web browsers other than Safari, and there is no way to create browser extensions for Safari mobile. When you use Safari on an iPhone, you are using a browser that behaves <em>exactly</em> like all other iPhone Safaris, without exception. And that means that, as web publishers discover improved ways to track you, you continue to lose privacy and control over your data as you surf the Web.</p>
<p>This situation is getting worse: the iPad has the same limitations as the iPhone. Technically, other browsers can be installed on Android, but for all intents and purposes, it seems the built-in browser is the dominant one. Simplified computing is the norm, with single isolated applications, never applications that can modify the behavior of other applications. Thus, no browser extensions, and only one way to surf the web.</p>
<p>Who needs trusted computing and remote software attestation when we&#8217;re all using curated devices that, by policy and/or convenience, run only one standard, unmodified web browser?</p>
<p>As computing moves to the web, the Web Browser becomes the operating system, and users need ways to tweak the operating system&#8217;s behavior, or web publishers will gain far too much power. We need browser extensions. We need them to be super easy to install, like Google Chrome extensions. We need them to have extensive power to modify browser behavior, like Firefox extensions. We need them to work on mobile platforms, now.</p>
<p>Browser extensions used to be fun little hacks. They&#8217;ll soon be necessary to maintain a balance of power between users and publishers on the Web.</p>
<p>(There&#8217;s a rumor going around that Apple is about to <a href="http://www.macrumors.com/2010/05/25/john-gruber-hints-at-possible-introduction-of-safari-extensions-at-wwdc/">introduce an extension framework for Safari</a>. Whether or not this extension framework is compatible with the iPhone/iPad will be a big deal, in my opinion.)</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/06/05/browser-extensions-user-freedom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>devices, payload data, and why Kim is (in part) right.</title>
		<link>http://benlog.com/articles/2010/06/01/devices-payload-data-and-why-kim-is-in-part-right/</link>
		<comments>http://benlog.com/articles/2010/06/01/devices-payload-data-and-why-kim-is-in-part-right/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 01:19:51 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[data]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1230</guid>
		<description><![CDATA[A few days ago, I wrote about privacy advocacy theater and lamented how some folks, including EPIC and Kim Cameron, are attacking Google in a needlessly harsh way for what was an accidental collection of data. Kim Cameron responded, and he is right to point out that my argument, in the Google case, missed an [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago, I wrote about <a href="http://benlog.com/articles/2010/05/27/privacy-advocacy-theater/">privacy advocacy theater</a> and lamented how some folks, including EPIC and Kim Cameron, are attacking Google in a needlessly harsh way for what was an accidental collection of data. Kim Cameron <a href="http://www.identityblog.com/?p=1102">responded</a>, and he is right to point out that my argument, in the Google case, missed an important issue.</p>
<p>Kim points out that two issues got confused in the flurry of press activity: the <em>accidental</em> collection of <em>payload data</em>, i.e. the URLs and web content you browsed on unsecured wifi at the moment the Google Street View car was driving by, and the <em>intentional</em> collection of <em>device identifiers</em>, i.e. the network hardware identifiers and network names of public wifi access points. Kim thinks the network identifiers are inherently more problematic than the payload, because they last for quite a bit of time, while payload data, collected for a few randomly chosen milliseconds, are quite ephemeral and unlikely to be problematic.</p>
<p>Kim&#8217;s right on both points. Discussion of device identifiers, which I missed in my first post, is necessary, because the data collection, in this case, was intentional, and apparently <em>was not disclosed</em>, as documented in <a href="http://epic.org/2010/05/epic-urges-federal-communicati-1.html">EPIC&#8217;s letter to the FCC</a>. If Google is collecting public wifi data, they should <em>at least</em> disclose it. In their <a href="http://googleblog.blogspot.com/2010/05/wifi-data-collection-update.html">blog post on this topic</a>, Google does not clarify that issue.</p>
<p>So, Google, please tell us how long you&#8217;ve been collecting network identifiers, and how long you failed to disclose it. It may have been an oversight, but, given how much other data you&#8217;re collecting, it would really improve the public&#8217;s trust in you to be very precise here.</p>
<p>Now, two points:</p>
<ol>
<li> taking a second look at <a href="http://epic.org/2010/05/epic-urges-federal-communicati-1.html">EPIC&#8217;s letter</a> and Kim&#8217;s <a href="http://www.identityblog.com/?p=1100">original post</a>, it still seems to me that there&#8217;s some confusion of the device identifier and payload data issues: the uproar materialized <em>after</em> Google revealed they had mistakenly collected payload data, and EPIC&#8217;s letter and Kim&#8217;s original post seem to weave back and forth between both issues, never really mentioning intent. Is this because the payload data story is juicier in headlines, and so bundling the two issues helps make the more important point? Maybe, but still, I think we should be more precise and careful when we attack on privacy grounds.</li>
<p></p>
<li> I agree that device privacy can be a big deal, especially when many people are walking around with RFIDs in their passports, pants, and with bluetooth headsets. But, <em>in this particular case</em>, is it a problem? If Google really only did collect the SSIDs of <em>open, public networks</em> that effectively invite anyone to connect to them and thus discover network name and device identifier, is that a violation of privacy, or of the Laws of Identity? I&#8217;m having trouble seeing the harm or the questionable act. Once again, these are public/open wifi networks. For the most part, these are static access points. Given Google&#8217;s stated interests in providing geolocation services, it would be detrimental to them if they catalogued roving access points. So, what&#8217;s the worst-case scenario here? Is it that, when I move to a new apartment, Google will know?</li>
</ol>
<p>None of this excuses Google&#8217;s lack of disclosure. This was intentional data collection, it should be disclosed, period.</p>
<p>And it&#8217;s worth asking the questions that Kim asks, raising awareness of device privacy. I&#8217;m not sure I&#8217;m as worried as Kim is on this particular issue, but the questions are certainly legitimate.</p>
<p>So, in the end, the privacy advocacy theater is coming first and foremost from the EU privacy folks, who did get enraged about payload data more than anything else. There&#8217;s still some coming from EPIC and, to remain blunt, a little bit from Kim&#8217;s first post. But his second post brings up very legitimate questions, and Google should take some additional action here, at least to let us know what they were collecting, when, and whether they properly disclosed it.</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/06/01/devices-payload-data-and-why-kim-is-in-part-right/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Privacy Advocacy Theater</title>
		<link>http://benlog.com/articles/2010/05/27/privacy-advocacy-theater/</link>
		<comments>http://benlog.com/articles/2010/05/27/privacy-advocacy-theater/#comments</comments>
		<pubDate>Thu, 27 May 2010 18:58:41 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[policy]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1214</guid>
		<description><![CDATA[Ed Felten recently used the very nice term Privacy Theater in describing the insanity of 6,000-word privacy agreements that we pretend to understand. The term, inspired by Bruce Schneier&#8217;s &#8220;security theater&#8221; description of US airport security, may have been introduced by Rohit Khare in December 2009 on TechCrunch, where he described how &#8220;social networks only [...]]]></description>
			<content:encoded><![CDATA[<p>Ed Felten recently used the very nice term <a href="http://www.freedom-to-tinker.com/blog/felten/privacy-theater">Privacy Theater</a> in describing the insanity of 6,000-word privacy agreements that we pretend to understand. The term, inspired by Bruce Schneier&#8217;s &#8220;security theater&#8221; description of US airport security, may have been introduced by Rohit Khare in December 2009 <a href="http://techcrunch.com/2009/12/27/privacy-theater/">on TechCrunch</a>, where he described how &#8220;social networks only pretend to protect your privacy.&#8221; These are real issues, and I wholeheartedly agree that long privacy policies and generally consumer-directed fine-print are all theater.</p>
<p>I want to focus on a related problem that I&#8217;ll call privacy <em>advocacy</em> theater. This is a problem that my friends and colleagues are guilty of, and I&#8217;m sure I&#8217;m guilty of it at times, too. Privacy Advocacy Theater is the act of extreme criticism for an accidental data breach rather than a systemic privacy design flaw. Example: if you&#8217;re up in arms over the Google Street View privacy &#8220;fiasco&#8221; of the last few days, you&#8217;re guilty of Privacy Advocacy Theater. (If you&#8217;re generally worried about Google Street View, that&#8217;s a different problem, there are real concerns there, but I&#8217;m only talking about the collection of wifi network payload data Google performed by mistake.)</p>
<p>I&#8217;m looking at you, EU Privacy folks, who are <a href="http://www.eweekeurope.co.uk/news/spain-and-france-join-inquiry-into-google-wi-fi-data-7232">investigating Google over accidental data collection</a>. Where is your investigation of Opera, which provides <a href="http://www.opera.com/mobile/">Opera Mini</a>, billed as &#8220;smarter web browsing&#8221;, smarter in the sense that it <em>relays all data, including secure connections to your bank, through Opera&#8217;s servers</em>? We should be <em>much</em> more concerned about designs that inherently create privacy risk. Oh sure, it&#8217;s easy political points to harp on accidental breaches for weeks, but it doesn&#8217;t help privacy much.</p>
<p>I also have to be harsh with people I respect deeply, like <a href="http://www.identityblog.com/?p=1100">Kim Cameron</a> who says that Google broke two of his very nicely crafted Laws of Identity. Come on, Kim, this was accidental data collection by code that the Google Street View folks didn&#8217;t even realize was running. (I&#8217;m giving them the benefit of the doubt. If they are lying, that&#8217;s a different problem, but no one&#8217;s claiming they&#8217;re lying, as far as I know.) The Laws of Identity apply predominantly to the systems that individuals choose to use to manage their data. If anyone is breaking the Laws of Identity, it&#8217;s the wifi access points that don&#8217;t actively nudge users towards encrypting their wifi network.</p>
<p>Another group I deeply admire and respect is <a href="http://epic.org/2010/05/epic-urges-federal-communicati-1.html">EPIC</a>. Here, they are also guilty of Privacy Advocacy Theater: they&#8217;re asking for an investigation into Google&#8217;s accidental wifi data collection. Now, I&#8217;m not a lawyer, and I certainly wouldn&#8217;t dare argue the law with Marc Rotenberg. But using common sense here, shouldn&#8217;t <em>intent</em> have something to do with this? Google did not intend to collect this data, didn&#8217;t even know they had it, and didn&#8217;t make any use of it. Shouldn&#8217;t we, instead of investigating them, help them define a process, maybe with third-party auditing from folks at EPIC, that helps them catalog what data they&#8217;re collecting, what data they&#8217;re using, etc&#8230;? At the very least, can we stop the press releases that make no distinction between intentional and unintentional data collection?</p>
<p>I&#8217;m getting worked up about this Privacy Advocacy Theater because, in the end, I believe it hurts privacy. Google is spending large amounts of time and money on this issue which is, as I&#8217;ve described previously, an inevitability in computer systems: accidental breaches happen all the time. We should be mostly commending them for revealing this flaw, and working with them to continue regular disclosure so that, with public oversight, these mistakes are discovered and addressed. Google has zero interest in making these mistakes. Slapping them on the wrist and having them feel some pain may be appropriate, but too much pain and too much focus on this non-issue is akin to a full-on criminal trial for driving 10 miles per hour over the speed limit: everyone&#8217;s doing it. Just fine them and move on. Then spend your time going after the folks who, by design, are endangering millions of users&#8217; privacy.</p>
<p>There are plenty of real, systemic privacy issues: Facebook&#8217;s data sharing and privacy controls, Opera Mini&#8217;s design (tens of millions of users relaying all of their data to Opera, <em>by design</em>), Google&#8217;s <em>intentional</em> data retention practices, web-based ad networks, &#8230; We have enough real issues to deal with, who needs the advocacy theater?</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/05/27/privacy-advocacy-theater/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>if you&#8217;re outraged by accidental breaches, you&#8217;d better sit down</title>
		<link>http://benlog.com/articles/2010/05/14/if-youre-outraged-by-accidental-breaches-youd-better-sit-down/</link>
		<comments>http://benlog.com/articles/2010/05/14/if-youre-outraged-by-accidental-breaches-youd-better-sit-down/#comments</comments>
		<pubDate>Sat, 15 May 2010 01:41:55 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[policy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1205</guid>
		<description><![CDATA[A few days ago, a security bug was discovered on Facebook, whereby users could see the chat transcripts of their friends talking to other friends. Then, another security hole was discovered where a problem at Yelp revealed email addresses of Facebook users. And today, Google realized that they accidentally collected network traffic from open wi-fi [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago, a security bug was discovered on Facebook, whereby users <a href="http://eu.techcrunch.com/2010/05/05/video-major-facebook-security-hole-lets-you-view-your-friends-live-chats/">could see the chat transcripts of their friends talking to other friends</a>. Then, another security hole was discovered where a problem at Yelp <a href="http://techcrunch.com/2010/05/11/yelp-security-hole-puts-facebook-user-data-at-risk-underscores-problems-with-instant-personalization/">revealed email addresses of Facebook users</a>. And today, Google realized that they <a href="http://techcrunch.com/2010/05/14/google-admits-to-accidentally-collecting-personal-data-with-street-view-cars/">accidentally collected network traffic from open wi-fi connections while gathering street-view data</a>.</p>
<p>In every instance, the companies involved didn&#8217;t mean to cause these data breaches. In every instance, they would gladly pay serious cash to prevent these bugs, given the negative publicity they cause. In every instance, most security folks I know are unfazed by these news, which they find quite unsurprising. And in each instance, the companies in question, Facebook and Google, reacted admirably: rapid disclosure, rapid response.</p>
<p>If you&#8217;re shocked, outraged, writing lengthy TechCrunch posts about these developments, you probably don&#8217;t understand computer security very well, and you&#8217;d better sit down with a stiff drink, because these issues are the tip of the iceberg. Accidental breaches happen all the time. Writing secure software is incredibly difficult, especially when,  like Google and Facebook, you&#8217;re pushing the envelope and releasing features as quickly as possible to outpace your competitors.</p>
<p>We do not know how to write secure software. We do not know how to ensure that the software we write follows a given set of policies. Anyone who tries to sell you a perfectly secure system is either lying to you or doesn&#8217;t know what he&#8217;s talking about.</p>
<p>There are measures we can take to minimize risk, but they aren&#8217;t very sexy. Mistakes will be made, so the point is to minimize the bad consequences of those inevitable mistakes. Think of the awfully boring things you&#8217;ve heard security geeks tell you:</p>
<ul>
<li> don&#8217;t store user passwords in the clear. </li>
<li> don&#8217;t make up your own crypto protocols, be conservative. </li>
<li> defend in depth: even if you&#8217;ve got one defense, it&#8217;s always a good idea to have other defenses against the same potential breach.</li>
<li> look upon large data aggregations with deep skepticism: Google, Facebook, government DNA databases, etc.</li>
<li> look upon wide-ranging integration of disparate systems with deep skepticism: OpenID, Facebook Instant Personalization, etc.</li>
<li> be skeptical of software vetting claims, i.e. the Apple app store.</li>
<li> ask that new protocols do much more than be &#8220;no less secure&#8221; than existing protocols (I&#8217;m looking at you oAuth 2.0, no less secure than cookies).</li>
<li> demand that the public be informed of all significant data breaches.</li>
</ul>
<p>So freaking boring, right? But that&#8217;s real security. Minimize the target, minimize the risk, maximize the defenses, and always seek to strengthen security measures, because attacks only get stronger, too. And finally, provide the incentive to companies to constantly improve their defenses, by mandating disclosure.</p>
<p>If you&#8217;re shocked about the Facebook and Google bugs, just remember that those are the bugs we know about. There are a whole bunch more we don&#8217;t know about that Google and Facebook caught before any harm occurred. And there are a whole bunch more that nobody but bad guys know about that are actively causing harm right this minute. So the question is, as a software engineer, did you take those boring precautions to limit the damage? As a user, did you consider what data you&#8217;re storing with whom, how big a target they may be to attackers, and how motivated they are to truly secure your data?</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/05/14/if-youre-outraged-by-accidental-breaches-youd-better-sit-down/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>the genius of Steve Jobs: he makes you want the lock-in</title>
		<link>http://benlog.com/articles/2010/04/29/the-genius-of-steve-jobs-he-makes-you-want-the-lock-in/</link>
		<comments>http://benlog.com/articles/2010/04/29/the-genius-of-steve-jobs-he-makes-you-want-the-lock-in/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 17:52:03 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[autonomy]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1197</guid>
		<description><![CDATA[Steve Jobs is a genius for many reasons, but one reason that may be under-appreciated is his unparalleled ability to convince users that he&#8217;s locking them into his platforms for their own good. Consider Jobs&#8217;s latest letter explaining why he won&#8217;t accept Flash on the iPhone/iPad. Most of the letter is right on: Adobe&#8217;s Flash [...]]]></description>
			<content:encoded><![CDATA[<p>Steve Jobs is a genius for many reasons, but one reason that may be under-appreciated is his unparalleled ability to convince users that he&#8217;s locking them into his platforms for their own good.</p>
<p>Consider Jobs&#8217;s latest <a href="http://www.apple.com/hotnews/thoughts-on-flash/">letter explaining why he won&#8217;t accept Flash on the iPhone/iPad</a>. Most of the letter is right on: Adobe&#8217;s Flash technology <em>on the web</em> is slow, not open, and best replaced by HTML5. Apple has a history of ditching old technologies and pulling industry forward: they killed the floppy disk on the iMac when everyone thought it was too early, they moved to flat screens across the line before others, they embraced USB peripherals and DVI video faster than everyone else, etc. Same thing here: Flash is bloated, slow, has serious security problems, and flies in the face of the open, copy-and-paste-the-source-code Web that we know and love. Apple is leading the way in removing it from its web browser. Good for them.</p>
<p>And then Jobs transitions:</p>
<blockquote><p>
Adobe also wants developers to adopt Flash to create apps that run on our mobile devices. We know from painful experience that letting a third party layer of software come between the platform and the developer ultimately results in sub-standard apps and hinders the enhancement and progress of the platform.
</p></blockquote>
<p>Except this is a sleight of hand: it&#8217;s just not true. Apple already has a mechanism to control for app quality: they can reject any app for any reason. So why add this additional level of control? Why automatically reject an app that happens to be originally built using Adobe&#8217;s cross-compiler, even if that app is good? The reason is in the next paragraph:</p>
<blockquote><p>
This becomes even worse if the third party is supplying a cross platform development tool.
</p></blockquote>
<p>Again, if an app is crappy, the user simply won&#8217;t buy it. So the problem for Apple is not that cross-platform necessarily means bad app (it doesn&#8217;t), but that cross-platform means&#8230;. cross-platform. If developers can easily create apps that run on iPhone, Android, WebOS, etc. then Apple has lost a bit of its lock-in. It&#8217;s easier for you to switch to a different platform. And that is something Jobs doesn&#8217;t want.</p>
<p>This is by no means the first time Jobs has deftly maneuvered to maximize user lock-in while making you think it&#8217;s for your own good. Remember DRM in iTunes? This was supposedly because of the music labels insisting on DRM. We were told that, without tight control over the spread of these music files, Jobs could never have convinced the labels to move legal music online. And we were thankful that Jobs had kicked the music industry into the 21st century, and most of us were willing to swallow the bitter pill of DRM. Except, now that iTunes sells non-DRM&#8217;ed songs, Apple has maintained all sorts of limitations that appear to be gratuitous. iTunes only syncs with iPods/iPhones, and Apple went out of its way to prevent Palm&#8217;s Pre phone from connecting to iTunes. Why? Because that would make it a little bit too easy for users to stop using Apple products.</p>
<p>The sad thing is, I think most of Apple&#8217;s products produce sufficient lock-in thanks to quality alone. I continue to use Apple desktop and laptops, because they&#8217;re that much better. But the artificial lock-in of the iTunes/iPod/iPhone/iPad chain is beginning to make me very uncomfortable. Jobs has convinced a lot of people that this lock-in is for their own good. I don&#8217;t believe him.</p>
<p><b>UPDATE</b>: typo fix, thanks Hacker News.</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/04/29/the-genius-of-steve-jobs-he-makes-you-want-the-lock-in/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>distributed innovation</title>
		<link>http://benlog.com/articles/2010/04/21/distributed-innovation/</link>
		<comments>http://benlog.com/articles/2010/04/21/distributed-innovation/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 21:58:57 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[data]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1189</guid>
		<description><![CDATA[A few years ago, a small group of folks (Mark Birbeck, Steven Pemberton, Ralph Swick, Shane McCarron, me, and more recently Ivan Herman, Manu Sporny, and a lot of great new folks) started with the simple idea that, if web pages contained a bit of structured data in addition to their haphazard content, we could [...]]]></description>
			<content:encoded><![CDATA[<p>A few years ago, a small group of folks (Mark Birbeck, Steven Pemberton, Ralph Swick, Shane McCarron, me, and more recently Ivan Herman, Manu Sporny, and a lot of great <a href="http://www.w3.org/2010/02/rdfa/#who">new folks</a>) started with the simple idea that, if web pages contained a bit of structured data in addition to their haphazard content, we could improve the Web a little bit. We could mark up titles, people&#8217;s contact information, geolocation data, copyright licensing information, etc. Tools could be built, including browser plugins and search engines, to help users extract this structured data and make sense of it.  There were others there before us, in particular the microformats effort. But we had, from the start, one major design difference: we felt strongly that anyone should be able to extend the core features without getting approval. The technology we came up with is <a href="http://rdfa.info">RDFa</a>. A few years later, Yahoo adopted it with SearchMonkey, so if you add bits of RDFa to your page, Yahoo search prominently displays those tidbits in its search results. A little bit later than that, Google adopted it with Rich Snippets, same story as Yahoo. And today, <a href="http://opengraphprotocol.org/">Facebook just adopted RDFa</a>, which will help it connect more precisely the items you share/like/annotate on the Web.</p>
<p>We weren&#8217;t the only folks proposing this kind of markup, and there remain healthy competing technologies. But because RDFa was architected with minimal centralization, anyone can create a vocabulary for it, anyone can use it <em>and extend it</em> without central approval, and that&#8217;s exactly what Yahoo, Google, and now Facebook did. They didn&#8217;t consult with the RDFa team. They didn&#8217;t have to. I consider that a great success: distributed innovation at work.</p>
<p>There will be work to do to reconcile the Yahoo, Google, and Facebook vocabularies. But that&#8217;s okay. RDFa lets you add as many vocabularies as you want, so you can easily combine the three vocabs for now to be maximally compatible. Over time, the tremendous power of the linked-data toolchain that forms the underpinning of RDFa will be brought to bear to progressively make the vocabularies compatible.</p>
<p>Exciting stuff for the structured-data Web!</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/04/21/distributed-innovation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What Nick Carr doesn&#8217;t get: hobbyists are the canary in the coal mine</title>
		<link>http://benlog.com/articles/2010/04/07/what-nick-carr-doesnt-get-hobbyists-are-the-canary-in-the-coal-mine/</link>
		<comments>http://benlog.com/articles/2010/04/07/what-nick-carr-doesnt-get-hobbyists-are-the-canary-in-the-coal-mine/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 03:31:33 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[autonomy]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1179</guid>
		<description><![CDATA[I told myself I wouldn&#8217;t write about the iPad anymore, but I have to. Nick Carr has joined the John Gruber club, by calling us Luddites: What these folks are ranting against, or at least gnashing their teeth over, is progress &#8211; or, more precisely, progress that goes down a path they don&#8217;t approve of. [...]]]></description>
			<content:encoded><![CDATA[<p>I told myself I wouldn&#8217;t write about the iPad anymore, but I have to.</p>
<p>Nick Carr has joined the John Gruber club, by <a href="http://www.roughtype.com/archives/2010/04/the_ipad_luddit.php">calling us Luddites</a>:</p>
<blockquote><p>
What these folks are ranting against, or at least gnashing their teeth over, is progress &#8211; or, more precisely, progress that goes down a path they don&#8217;t approve of. They want progress to, as Bray admits, follow their own ideological bent, and when it takes a turn they don&#8217;t like they start grumbling like granddads, yearning for the days of their idealized Apple IIs, when men were men and computers were computers.</p>
<p>[...]</p>
<p>While progress may be spurred by the hobbyist, it does not share the hobbyist&#8217;s ethic.
</p></blockquote>
<p>Back in 1999, I used to pitch open-source software to big companies. I heard very similar retorts: why would customers want to hack at the code? Let professionals handle this, this is not a job for hobbyists! Over the years, I learned the most important response to that misguided opinion: it&#8217;s not about whether hobbyists can make modifications, it&#8217;s about whether <em>someone other than the original manufacturer</em> can.</p>
<p>With open-source software, it&#8217;s not that you will necessarily hack the code yourself, but the fact that you can means that you can also hire <em>the professional you choose</em> to do the job for you.</p>
<p>Similarly, if a hybrid car comes with a sealed hood that you, a hobbyist, can&#8217;t get to even with the right tools, then you also can&#8217;t <em>choose the professional</em> you want to service your car. Sure, you probably want to stick with the professionals &#8220;authorized&#8221; by the auto manufacturer, especially if you&#8217;re not an expert yourself. But nothing legal or technical is going to prevent you from choosing some &#8220;unapproved professional&#8221; you trust. If you can tinker with it, then you can hire someone else to do it for you. You may be taking a risk of voiding the warranty and irreversibly breaking your hybrid car, but that&#8217;s your choice and your risk to take.</p>
<p>And the same thing applies to the iPad. Sure, the average consumer is probably best off using apps that have been vetted by Apple. But if the technology harshly enforces this constraint, if you can&#8217;t hack at it, then you can no longer pick the professional of your choice to hack at it, and you depend entirely on Apple. That&#8217;s bad for tinkerers and hobbyists, as I described <a href="http://benlog.com/articles/2010/04/02/the-accidental-tinkerer-unexpected-lock-in-and-fatherhood/">in an earlier post</a>, and thus it&#8217;s also bad for progress because it removes choice.</p>
<p>So, no, Nick, we&#8217;re not saying that every device must make every effort to be hobbyist friendly. What we&#8217;re saying is that when a company goes out of its way to prevent hobbyists from tinkering, they&#8217;re also going out of their way to prevent end-users from choosing their professional provider. That&#8217;s a departure from progress as we&#8217;ve known it throughout history. And it will mean more decisions that don&#8217;t really benefit users, like the retroactive removal of apps that are &#8220;not quite useful enough,&#8221; and similar abuses that are all too common when one company maintains such airtight control. It was bad for progress when mobile phone companies controlled their phones in this way, and it&#8217;s bad for progress when Apple does it, too.</p>
<p>Remember, when radios started receiving only instead of also transmitting, that was the company building a simpler device, removing features to make it simpler and cheaper. The Apple iPad is not an unprogrammable computer. It&#8217;s a programmable computer with an added feature, DRM, that actively prevents you from programming it if you&#8217;re not approved by Apple. It&#8217;s <em>more complicated</em> to build that way, because it&#8217;s actively blocking you from trusting another company to vet your apps.</p>
<p>You call that progress?</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/04/07/what-nick-carr-doesnt-get-hobbyists-are-the-canary-in-the-coal-mine/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Myth: the app store will protect you and prevent user confusion</title>
		<link>http://benlog.com/articles/2010/04/05/myth-the-app-store-will-protect-you-and-prevent-user-confusion/</link>
		<comments>http://benlog.com/articles/2010/04/05/myth-the-app-store-will-protect-you-and-prevent-user-confusion/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 22:23:55 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[autonomy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://benlog.com/?p=1175</guid>
		<description><![CDATA[An interesting thing happened with the Apple AppStore this weekend: This weekend, as hundreds of thousands of people explored their iPads [...] they found [...] an application called Facebook Ultimate, featuring a sleek version of the familiar ‘f’ logo. The application quickly rose through the ranks to become one of the App Store’s top selling [...]]]></description>
			<content:encoded><![CDATA[<p>An <a href="http://techcrunch.com/2010/04/05/facebooks-ipad-impostor-facebook-ultimate-removed-from-the-app-store/">interesting thing happened with the Apple AppStore this weekend</a>:</p>
<blockquote><p>
This weekend, as hundreds of thousands of people explored their iPads [...] they found [...] an application called Facebook Ultimate, featuring a sleek version of the familiar ‘f’ logo. The application quickly rose through the ranks to become one of the App Store’s top selling iPad applications. Unfortunately, it soon became apparent to these users that the application simply wasn’t very good, and that it wasn’t created by Facebook at all.</p>
<p>[...]</p>
<p>the $2.99 application rose to become the #7 top paid app on the App Store. The app received many poor reviews from upset users, plenty of which warned others that this was not the app they were looking for, but that apparently didn’t stop people from downloading it.
</p></blockquote>
<p>Tell me again how the App Store protects users?</p>
]]></content:encoded>
			<wfw:commentRss>http://benlog.com/articles/2010/04/05/myth-the-app-store-will-protect-you-and-prevent-user-confusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
