<?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 for Software and Opinions</title>
	<atom:link href="http://ianloic.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://ianloic.com</link>
	<description>from Ian McKellar</description>
	<pubDate>Wed, 07 Jan 2009 03:20:31 +0000</pubDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on A Different Model For Web Services Authorization by cal</title>
		<link>http://ianloic.com/2009/01/05/a-different-model-for-web-services-authorization/comment-page-1/#comment-1377</link>
		<dc:creator>cal</dc:creator>
		<pubDate>Tue, 06 Jan 2009 17:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=102#comment-1377</guid>
		<description>this doesn't work well, as you say, for things other than upload. and it means that you need a mobile web interface for any mobile applications that want to support flickr. and it means devices without a web browser (digital photo frames, etc) are screwed (they can do initial auth using mini-tokens - see the flickr api docs).

but on top of that, it just makes things harder to use. and so the site which provides an api that just works, as opposed to one which (in practice) allows you to queue up actions to do later on the site, is going to fail. easy to cite twitter's success, even though they don't support any kind of secure three-legged auth.

we're going to have to always (for the time being, until computers are magical) rely on the user anyway - if they install random binaries then they're open to cookie stealing and spoofing anyway, so APIs are moot. so the confirmation-before-issuing-user-tokens seems the correct approach (ignoring that flickr's has been broken lately *cough*).</description>
		<content:encoded><![CDATA[<p>this doesn&#8217;t work well, as you say, for things other than upload. and it means that you need a mobile web interface for any mobile applications that want to support flickr. and it means devices without a web browser (digital photo frames, etc) are screwed (they can do initial auth using mini-tokens - see the flickr api docs).</p>
<p>but on top of that, it just makes things harder to use. and so the site which provides an api that just works, as opposed to one which (in practice) allows you to queue up actions to do later on the site, is going to fail. easy to cite twitter&#8217;s success, even though they don&#8217;t support any kind of secure three-legged auth.</p>
<p>we&#8217;re going to have to always (for the time being, until computers are magical) rely on the user anyway - if they install random binaries then they&#8217;re open to cookie stealing and spoofing anyway, so APIs are moot. so the confirmation-before-issuing-user-tokens seems the correct approach (ignoring that flickr&#8217;s has been broken lately *cough*).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Different Model For Web Services Authorization by Coda Hale</title>
		<link>http://ianloic.com/2009/01/05/a-different-model-for-web-services-authorization/comment-page-1/#comment-1376</link>
		<dc:creator>Coda Hale</dc:creator>
		<pubDate>Tue, 06 Jan 2009 17:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=102#comment-1376</guid>
		<description>I like the idea of a sandbox for changes made by potentially malicious third-party clients, but I think this model is pretty specific to services which have few or large changes, like Flickr. Using this model for Twitter, for example, would be infuriating; the amount of data a client sends isn't over the "let me review this before it goes live" threshold. Where it does apply, however, I think it makes perfect sense -- I've often wanted a review stage for my Flickr uploads.</description>
		<content:encoded><![CDATA[<p>I like the idea of a sandbox for changes made by potentially malicious third-party clients, but I think this model is pretty specific to services which have few or large changes, like Flickr. Using this model for Twitter, for example, would be infuriating; the amount of data a client sends isn&#8217;t over the &#8220;let me review this before it goes live&#8221; threshold. Where it does apply, however, I think it makes perfect sense &#8212; I&#8217;ve often wanted a review stage for my Flickr uploads.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Different Model For Web Services Authorization by Nick</title>
		<link>http://ianloic.com/2009/01/05/a-different-model-for-web-services-authorization/comment-page-1/#comment-1374</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 06 Jan 2009 15:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=102#comment-1374</guid>
		<description>I don't know if this sort of model is sufficient for me to trust third party applications, but I think it's necessary. It might let one more meaningfully audit pending (and past) transactions - it's just as valuable for reads as well as writes.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if this sort of model is sufficient for me to trust third party applications, but I think it&#8217;s necessary. It might let one more meaningfully audit pending (and past) transactions - it&#8217;s just as valuable for reads as well as writes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Different Model For Web Services Authorization by kellan</title>
		<link>http://ianloic.com/2009/01/05/a-different-model-for-web-services-authorization/comment-page-1/#comment-1373</link>
		<dc:creator>kellan</dc:creator>
		<pubDate>Tue, 06 Jan 2009 12:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=102#comment-1373</guid>
		<description>Ian, first you need to establish your security constraints, then you can evaluate if a proposal meets them.

In the case of single purpose, trusted origin installed software like the Flickr Uploadr you could make a case that the single most secure option is username-password/ClientLogin over SSL.  (we don't, and we're comfortable with that choice made for a combination of technological, policy, and customer care issues)

And for the above submitted changeset approach above, when used in a hosted web context sounds like a XSSers dream.

So first, the problem space.</description>
		<content:encoded><![CDATA[<p>Ian, first you need to establish your security constraints, then you can evaluate if a proposal meets them.</p>
<p>In the case of single purpose, trusted origin installed software like the Flickr Uploadr you could make a case that the single most secure option is username-password/ClientLogin over SSL.  (we don&#8217;t, and we&#8217;re comfortable with that choice made for a combination of technological, policy, and customer care issues)</p>
<p>And for the above submitted changeset approach above, when used in a hosted web context sounds like a XSSers dream.</p>
<p>So first, the problem space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on No More Secrets by links for 2009-01-06 &#171; Breyten&#8217;s Dev Blog</title>
		<link>http://ianloic.com/2009/01/05/no-more-secrets/comment-page-1/#comment-1372</link>
		<dc:creator>links for 2009-01-06 &#171; Breyten&#8217;s Dev Blog</dc:creator>
		<pubDate>Tue, 06 Jan 2009 11:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=93#comment-1372</guid>
		<description>[...] No More Secrets (tags: wow coding word! oauth http web hacking funny flickr) [...]</description>
		<content:encoded><![CDATA[<p>[...] No More Secrets (tags: wow coding word! oauth http web hacking funny flickr) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Different Model For Web Services Authorization by Blaine Cook</title>
		<link>http://ianloic.com/2009/01/05/a-different-model-for-web-services-authorization/comment-page-1/#comment-1371</link>
		<dc:creator>Blaine Cook</dc:creator>
		<pubDate>Tue, 06 Jan 2009 09:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=102#comment-1371</guid>
		<description>Watching NetFlix on my XBox would be extremely irritating if I had to go to my computer to authorise my XBox to download or rate a movie. This might be a good approach, as you said, for Flickr, but I'm not sure it has enough general applicability to supplant current models of delegated auth.

Also, implementing change sets like that would be a total pain in the ass on the server side. :-)</description>
		<content:encoded><![CDATA[<p>Watching NetFlix on my XBox would be extremely irritating if I had to go to my computer to authorise my XBox to download or rate a movie. This might be a good approach, as you said, for Flickr, but I&#8217;m not sure it has enough general applicability to supplant current models of delegated auth.</p>
<p>Also, implementing change sets like that would be a total pain in the ass on the server side. <img src='http://ianloic.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on No More Secrets by Blaine Cook</title>
		<link>http://ianloic.com/2009/01/05/no-more-secrets/comment-page-1/#comment-1370</link>
		<dc:creator>Blaine Cook</dc:creator>
		<pubDate>Tue, 06 Jan 2009 09:09:35 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=93#comment-1370</guid>
		<description>Trust can absolutely creep into applications in ways it shouldn't. This is true, and has nothing to do with OAuth / delegated auth.

It feels like your frustration is less with delegated auth (which is more secure than basic auth, period), and more with web people who don't understand security. These people will always exist. Overworked teams who allow logins to the admin site via the normal site login with no VPN or otherwise will also always exist.

In South America, they have phishing attacks too; the difference is that the phishing is done with a gun, your car, and your bank card. So we're never going to solve all of these problems. It just won't happen. But we can strive to do better, and we should. Arguing about whether Better is Enough seems counter productive.

That said, it's important that people understand where the possible attack vectors are with OAuth, and how to guard against them (in this case, don't trust consumer keys in publicly distributed software as much as you do privately held consumer keys with owners who you can sue). The more writing on this, the better, as long as it's done in a way that doesn't throw the baby out with the bath water.</description>
		<content:encoded><![CDATA[<p>Trust can absolutely creep into applications in ways it shouldn&#8217;t. This is true, and has nothing to do with OAuth / delegated auth.</p>
<p>It feels like your frustration is less with delegated auth (which is more secure than basic auth, period), and more with web people who don&#8217;t understand security. These people will always exist. Overworked teams who allow logins to the admin site via the normal site login with no VPN or otherwise will also always exist.</p>
<p>In South America, they have phishing attacks too; the difference is that the phishing is done with a gun, your car, and your bank card. So we&#8217;re never going to solve all of these problems. It just won&#8217;t happen. But we can strive to do better, and we should. Arguing about whether Better is Enough seems counter productive.</p>
<p>That said, it&#8217;s important that people understand where the possible attack vectors are with OAuth, and how to guard against them (in this case, don&#8217;t trust consumer keys in publicly distributed software as much as you do privately held consumer keys with owners who you can sue). The more writing on this, the better, as long as it&#8217;s done in a way that doesn&#8217;t throw the baby out with the bath water.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on No More Secrets by Ian McKellar</title>
		<link>http://ianloic.com/2009/01/05/no-more-secrets/comment-page-1/#comment-1369</link>
		<dc:creator>Ian McKellar</dc:creator>
		<pubDate>Tue, 06 Jan 2009 08:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=93#comment-1369</guid>
		<description>@cal, @mike: well, until this evening Flickr would happily hand out tokens based on a secret key of a trusted application and cross-site request forgery. Trust of secret keys can sneak into otherwise secure web applications when people forget how not-secret the keys can be. You can take a look at the (no longer working) exploit &lt;a href="http://scratch.ianloic.com/flickr2/sploitr.html" rel="nofollow"&gt;here&lt;/a&gt;.

@Richard, as long as you're sending bits to somebody's computer it's fair to assume that they'll be able to identify whatever information is encoded in there - especially if it's encoded in an x86 executable :) Secondly a distributed application binary can never be trusted - at least not without significant OS and hardware support that's definitely lacking on all the platforms I care to run and are probably lacking in practice on the ones that claim to implemented it. The only solution is to trust users, not software - take a look at my next post.</description>
		<content:encoded><![CDATA[<p>@cal, @mike: well, until this evening Flickr would happily hand out tokens based on a secret key of a trusted application and cross-site request forgery. Trust of secret keys can sneak into otherwise secure web applications when people forget how not-secret the keys can be. You can take a look at the (no longer working) exploit <a href="http://scratch.ianloic.com/flickr2/sploitr.html"  rel="nofollow">here</a>.</p>
<p>@Richard, as long as you&#8217;re sending bits to somebody&#8217;s computer it&#8217;s fair to assume that they&#8217;ll be able to identify whatever information is encoded in there - especially if it&#8217;s encoded in an x86 executable <img src='http://ianloic.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Secondly a distributed application binary can never be trusted - at least not without significant OS and hardware support that&#8217;s definitely lacking on all the platforms I care to run and are probably lacking in practice on the ones that claim to implemented it. The only solution is to trust users, not software - take a look at my next post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Different Model For Web Services Authorization by No More Secrets &#124; Software and Opinions</title>
		<link>http://ianloic.com/2009/01/05/a-different-model-for-web-services-authorization/comment-page-1/#comment-1368</link>
		<dc:creator>No More Secrets &#124; Software and Opinions</dc:creator>
		<pubDate>Tue, 06 Jan 2009 08:03:25 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=102#comment-1368</guid>
		<description>[...] Software and Opinions from Ian McKellar   Skip to content About       &#171; Closed Source A Different Model For Web Services Authorization &#187; [...]</description>
		<content:encoded><![CDATA[<p>[...] Software and Opinions from Ian McKellar   Skip to content About       &laquo; Closed Source A Different Model For Web Services Authorization &raquo; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on No More Secrets by A Different Model For Web Services Authorization &#124; Software and Opinions</title>
		<link>http://ianloic.com/2009/01/05/no-more-secrets/comment-page-1/#comment-1367</link>
		<dc:creator>A Different Model For Web Services Authorization &#124; Software and Opinions</dc:creator>
		<pubDate>Tue, 06 Jan 2009 07:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://ianloic.com/?p=93#comment-1367</guid>
		<description>[...] Software and Opinions from Ian McKellar   Skip to content About       &#171; No More Secrets [...]</description>
		<content:encoded><![CDATA[<p>[...] Software and Opinions from Ian McKellar   Skip to content About       &laquo; No More Secrets [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
