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

后端 未结 6 968
轻奢々
轻奢々 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:08

    I share David's concerns. Security must be built layer by layer and a white list served by the origin server seems to be a good approach.

    Plus, this white list can be used to close existing loopholes (forms, script tag, etc...), it's safe to assume that a server serving the white list is designed to avoid back compatibility issues.

提交回复
热议问题