Skip to content

Secure Your Cookies

View on Twitter

💡 Working with cookies? Don't forget to secure them:

👉🏼 HttpOnly — no access from JavaScript (document.cookie API)
👉🏼 Secure — send cookie over HTTPS only
👉🏼 SameSite (Strict/Lax) — send only when current URL matches cookie URL

You might also like
Make Your Site Portable By Using Permalinks Read tip
IaaS vs PaaS Explained Using a Store Analogy Read tip
Large Node.js Project Example to Learn From Read tip