W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

RE: XHR LC Draft Feedback

From: Sunava Dutta <sunavad@windows.microsoft.com>
Date: Mon, 12 May 2008 13:27:05 -0700
To: Anne van Kesteren <annevk@opera.com>
CC: "public-webapi@w3.org" <public-webapi@w3.org>, Gideon Cohn <gidco@windows.microsoft.com>, Ahmed Kamel <Ahmed.Kamel@microsoft.com>, Zhenbin Xu <zhenbinx@windows.microsoft.com>, Doug Stamper <dstamper@exchange.microsoft.com>
Message-ID: <083D18C6B9B71F4CBCA7B76D97B74831032EE390BD@NA-EXMSG-W601.wingroup.windeploy.ntdev.microsoft.com>
Comments inline. Thanks,

> -----Original Message-----
> From: Anne van Kesteren [mailto:annevk@opera.com]
> Sent: Monday, May 12, 2008 8:12 AM
> To: Sunava Dutta
> Cc: public-webapi@w3.org; Gideon Cohn; Ahmed Kamel; Zhenbin Xu; Doug
> Stamper
> Subject: Re: XHR LC Draft Feedback
>
> On Fri, 18 Apr 2008 03:00:46 +0200, Sunava Dutta
> <sunavad@windows.microsoft.com> wrote:
> > So essentially summarizing my two requests for your convenience.
> >
> > 1.       Mentioning for each header the reasons for restriction. (I
> > think security is paramount but for shipped implementations I would
> > hesitate to reduce surface area of attack unless there is a compelling
> > reason. It's much harder to restrict once we ship!)
>
> The restrictions on allowed headers have come forth based on
> implementation feedback from Opera, Apple, and Mozilla. If you have
> feedback that suggests the list of headers should be different, please let
> us know.
[Sunava Dutta] Ah, sorry I'm not being clear. What I'm asking for is the reasons for why the headers are blocked (based on implementation feedback, but what is the feedback per blocked header?) to be called out for each header in the spec. Otherwise it seems arbitrary.
>
>
> > 2.       Protecting Access-Control-Origin header from being set in XHR.
> > Cheers and thank you!
>
> I agree that Access-Control-Origin needs to be blocked, but shouldn't we
> add this header in XMLHttpRequest Level 2? Adding it in XMLHttpRequest
> Level 1 seems slightly odd, though I don't feel strongly either way.
[Sunava Dutta] Having it in XHR L2 is OK with me.
>
>
> --
> Anne van Kesteren
> <http://annevankesteren.nl/>
> <http://www.opera.com/>

Received on Monday, 12 May 2008 20:28:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 12 May 2008 20:28:45 GMT