[HTML 5] Refer Polices
Posted Answer1215
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[HTML 5] Refer Polices相关的知识,希望对你有一定的参考价值。
Morden browser apply noopener
for you, but for lagacy browser might not.
What noopener
does is that, it set window.opener
to null
, which can prevent evil site change the original site url points to a phising site.
A: is wrong, should be prevent newly opened site to access original site
noreferrer
: for example you open a link https://example.com
, without noreferrer
, you can access original site url through document.referrer
, looks like https://www.website.com/community?userId=123
, it can access the query params which might be sensitive to the user.
noreferrer
also make sure noopener
also applied.
therefore Answer B is correct.
More information: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
Answer: B, D
以上是关于[HTML 5] Refer Polices的主要内容,如果未能解决你的问题,请参考以下文章
markdown CSS_Attention_width_height_refer
公有云厂商DDoS防护产品竞品分析——内含CC的一些简单分析,貌似多是基于规则,CC策略细粒度ip/url//ua/refer