Cross Origin Read Blocking(CORB)

Tags
websecurity
Created
May 4, 2018 10:11 AM

https://chromium.googlesource.com/chromium/src/+/master/services/network/cross_origin_read_blocking_explainer.md

前端无感知。

是在 SOP 禁止读取跨域远端资源的基础上的补充,因为有一些例外:<img> or <script> …, 这些资源会被解码/解析,有可能造成的“side channel attacks” (e.g. Spectre)

减缓 XSS 攻击

CORB 会对符合条件的资源在响应到达前进行阻塞,避免浏览器对其进行解码。

  • The response body is replaced with an empty body.
  • The response headers are removed.
SuperMade with Super