On Wed, Mar 6, 2013 at 10:30 AM, Jimmy Berry <
boomb...@google.com> wrote:
> Given that one can host a proxy server and make the
> same request (ie without user credentials) why is this not available without
> a special setup like CORS or permissions? From a security standpoint
> requests can already be made with credentials using images (allows CSRF),
> but the calling page cannot see the resulting data. A form can also be
> POSTed using submit() across domains so what are the risks with allowing
> XMLHTTPRequests withCredentials = false?
The user may have access to resources that the proxy server doesn't
have, such as intranet hosts. Access could be checked by checking IP
addresses or referrers... so, it's not generally safe to let websites
read results from arbitrary hosts.
-christian