Possible to allow HTTP requests from HTTPS website?

一笑奈何 提交于 2019-12-01 08:20:14

stylesheet ... static resources that I don't regard as critical over http.

CSS can include script and script can alter the page, so it is considered critical.

..."allow http requests from https with iis" ...

The decision to deny mixed content is done within the browser. There is no setting which will allow the browser to include mixed content. The behavior on what is considered mixed content differs between browsers and versions, look here for more information from a year ago.

... is it solvable the same way CORS is?

The security model of CORS cares about same origin policy and a server may decide that a specific other side might do a CORS request. But in this case it is the question if the content might be modified in transit by anybody (i.e. man-in-the-middle attack).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!