What are cookies and how are they secured?
BeginnerConceptHTTP, TLS & Certificates
Answer
Small key-value pairs the server sets via Set-Cookie and the browser returns. Secure attributes: Secure (HTTPS only), HttpOnly (not readable by JS), SameSite=Lax|Strict (CSRF mitigation), plus Domain, Path and expiry.
Sticky sessions at a load balancer use a cookie (AWSALB) to pin a client to one target.
More on HTTP, TLS & Certificates
What is the structure of an HTTP request and response?BeginnerWhich HTTP status code classes and codes should every DevOps engineer know?BeginnerWhat are the common HTTP methods and which are idempotent?BeginnerWhat changed between HTTP/1.1, HTTP/2 and HTTP/3?IntermediateHow does QUIC differ from TCP+TLS?AdvancedWhat are HTTP keep-alive and connection reuse, and why do they matter?Advanced