W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: widget example of CORS and UMP

From: Tyler Close <tyler.close@gmail.com>
Date: Fri, 14 May 2010 12:27:32 -0700
Message-ID: <AANLkTikalB7beBcXBZJ4CIhxN8hkWbqFLejjt-TdwKJY@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: Dirk Pranke <dpranke@chromium.org>, Maciej Stachowiak <mjs@apple.com>, public-webapps <public-webapps@w3.org>
On Fri, May 14, 2010 at 12:20 PM, Ojan Vafai <ojan@chromium.org> wrote:
> On Fri, May 14, 2010 at 12:00 PM, Tyler Close <tyler.close@gmail.com> wrote:
>>
>> On Fri, May 14, 2010 at 11:27 AM, Dirk Pranke <dpranke@chromium.org>
>> wrote:
>> > You are correct that it is possible to use CORS unsafely. It is possible
>> > to use
>> > UMP unsafely,
>>
>> Again, that is broken logic. It is possible to write unsafe code in
>> C++, but it is also possible to write unsafe code in Java, so there's
>> no security difference between the two languages. Please, this
>> illogical argument needs to die.
>
> This feels like a legal proceeding. Taken out of context, this sounds
> illogical, in the context of the rest of the paragraph Dirk's point makes
> perfect sense.

My email included all of Dirk's text. I didn't remove it from context.
I don't think it makes any sense, even in context.

> In the same way that CORS has security problems, so does UMP.

No, not in "the same way". The security issues are different in nature
and severity. You can't just say there exist problems in both, so
they're equivalent. That's not sensible.

> For example, I don't understand how UMP can ever work with GET requests.
> Specifically, how do you deal with users sharing URLs with malicious
> parties? Or is that not considered a problem?

You don't expose dangerous shared secrets to the user. You hide them
away where the user won't accidentally get at them. That's what
cookies try to do, but rather badly, as Adam has shown. There are
other ways to hide secret tokens from the user.

--Tyler

-- 
"Waterken News: Capability security on the Web"
http://waterken.sourceforge.net/recent.html
Received on Friday, 14 May 2010 19:34:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:38 GMT