Glossary term
Security Headers
Security headers are extra instructions a website sends to a visitor’s browser along with a page. They can tell it to block certain behavior that could create a security risk.
One instruction can limit which outside sites may display the page inside their own pages. Another can tell the browser to keep using a protected HTTPS connection on later visits. Each addresses a different problem.
Content-Security-Policy: frame-ancestors 'none'This example prevents other websites from displaying the page inside an embedded window, often called a frame. frame-ancestors identifies that rule and 'none' allows no embedding sites. A service that needs to appear within another site would need a different setting.
These settings need to suit the website. Copying a strict collection of them can block something the site is meant to do. A tool reporting good header settings does not establish that every other part of the site is secure.
For implementation considerations, see Security Headers.


