在Internet Explorer中使用CORS (跨域资源共享)时-是否支持提供身份验证(即基本身份验证)?
发布于 2012-09-18 21:53:14
简短的回答是:不。更长的答案:
Internet Explorer 7及更低版本不支持CORS
Internet Explorer8和9通过XDomainRequest对象提供了有限的CORS支持。XDomainRequest对象不支持自定义标头,因此它不支持Authorization标头。(来源:http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx)
即将发布的Internet Explorer10将完全支持CORS,其中包括对Authorization等自定义标头的支持。(来源:http://blogs.msdn.com/b/ie/archive/2012/02/09/cors-for-xhr-in-ie10.aspx)
发布于 2013-08-02 11:47:26
任何需要支持IE7,8,9 withCredentials的公共站点都不要使用CORS。在internet区域“跨域访问数据源”中禁用此功能。只有受信任的区域域才能进行跨域调用。
https://stackoverflow.com/questions/12468741
复制相似问题