Interview Prep/Networking/HTTP, TLS & Certificates

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.

All Networking questions Roadmap: Networking for DevOps

More on HTTP, TLS & Certificates