Table of Contents

About

In HTTP, the security is done via the setting of:

Elements of HTTP security

response HTTP header that control the browser and have an effect on security:

X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
  • X-XSS-Protection header. Using the default behavior, the browser will prevent rendering of the page when a Cross-site scripting (XSS) attack is detected, 1)
X-XSS-Protection: 1; mode=block
  • X-Robots-Tag header. Stops search engine to index the pages. 2)
X-Robots-Tag: none
  • Referrer-Policy: HTTP - Referrer-Policy Header (to not leak private url)
  • Permissions-Policy: This header allows you to control which features and APIs can be used in the browser. It was previously named Feature-Policy. You can view the full list of permission options here.
Permissions-Policy: camera=(), microphone=(), geolocation=(), interest-cohort=()

The samesite and cookie scope controls where the browser sends the cookie back (in a cross origin context or not)

Tools