HTTP Primer
HTTP Headers
An HTTP header is a field of an HTTP request or response that passes additional context and metadata
about the request or response.
HTTP Request Headers
A request header is an HTTP header that can be used in an HTTP request to provide information about the
request context, so that the server can tailor the response.
HTTP Fetch Metadata Request Headers
*Fetch metadata request headers provide information about the context from which the request originated.
*This allows a server to make decisions about whether a request should be allowed based on where the request came from and how the resource will be used.
HTTP Response Headers
A response header is an HTTP header used to give a more detailed context of the response.
HTTP Security Headers
One of the easiest ways to secure a web application against common web security vulnerabilities is to
include HTTP security headers.
Adding Default HTP Security Headers
Default HTTP Security headers
TLS and it’s properties
Transport layer security, Any web application using HTTPS is therefore employing TLS encryption.
Properties:
Encryption - Hides data from third parties
Integrity - verifies data has not been forged or tampered with
Authentication - ensures that the parties exchanging information are who they claim to be
How does TLS Work
Digital signatures