Dillion Megida 8/9/2020

noopener noreferrer - What do these mean and how does it improve web security?

Read Original

This technical article details the security vulnerability created by using target='_blank' in HTML links, which allows the newly opened page to access the original page's window object. It explains how the 'rel=noopener' attribute mitigates this risk by setting window.opener to null, and how 'noreferrer' additionally prevents referral data from being sent. The guide is aimed at web developers looking to implement secure linking practices.

noopener noreferrer - What do these mean and how does it improve web security?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week