Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Is rel=";“诺弗勒”;当目标是自定义帧名时是否需要?_Html_Security - Fatal编程技术网

Html Is rel=";“诺弗勒”;当目标是自定义帧名时是否需要?

Html Is rel=";“诺弗勒”;当目标是自定义帧名时是否需要?,html,security,Html,Security,我明白如果我的链接看起来像 <a href="https://externalsite.com" target="_blank">Dangerous link</a> <a href="https://externalsite.com" target="custom name">Is this dangerous?</a> 相同的漏洞是否仍然存在?使用noopene

我明白如果我的链接看起来像

<a href="https://externalsite.com" target="_blank">Dangerous link</a>
<a href="https://externalsite.com" target="custom name">Is this dangerous?</a>
相同的漏洞是否仍然存在?

使用
noopener,noreferrer
\u blank
只会打开一个未命名的窗口
target
属性用作窗口名称。如果多次引用同一目标,该窗口将被新URL替换。
这并不能解决安全问题

以下是更多信息: 你可以试试那篇文章中给出的例子

首先使用
noopener,noreferrer
。但第二,不要链接到恶意网站