W3C home > Mailing lists > Public > public-webappsec@w3.org > May 2013

crossorigin=anonymous and auth dialogs?

From: Eduardo' Vela <evn@google.com>
Date: Thu, 9 May 2013 19:05:55 -0700
Message-ID: <CAFswPa9Oi+R=6++zdBMXrJyCq9nApXLSwq-OWw-_O60+OA90Ww@mail.gmail.com>
To: "public-webappsec@w3.org" <public-webappsec@w3.org>
Should an <img> with crossorigin=anonymous pop out auth dialogs?

<img src="


No, I don't think it should, because then one of two things can happen:

   1. The user puts their credentials.
   2. The user cancels.

If (1) happens, then the request should fail and the image should be
tainted as if the response had no ACAO.
If (2) happens, and there was an ACAO, then it succeeds.

If the hosting page is saying they already want no credentials sent, then
it shouldn't include any (unless, well, there's one in the URL).

Also, my hidden agenda is that we could solve the super annoying 401 Auth
dialogs for phishing.

Received on Friday, 10 May 2013 02:06:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:33 UTC