Cross-Origin Resource Sharing (CORS) - am I missing something here?

后端 未结 6 967
轻奢々
轻奢々 2021-01-31 04:36

I was reading about CORS and I think the implementation is both simple and effective.

However, unless I\'m missing something, I think there\'s a big part missing from th

6条回答
  •  生来不讨喜
    2021-01-31 05:12

    It seems to me that CORS is purely expanding what is possible, and trying to do it securely. I think this is clearly a conservative move. Making a stricter cross domain policy on other tags (script/image) while being more secure, would break a lot of existing code, and make it much more difficult to adopt the new technology. Hopefully, something will be done to close that security hole, but I think they need to make sure its an easy transition first.

提交回复
热议问题