noopener noreferrer - What do these mean and how does it improve web security?
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser