My Obsidian Notes

Home

❯

Tech notes

❯

Terminology & Definitions

❯

Software Terminology

❯

Web Dev Terminology

❯

Cookies

❯

HTTP only Cookie

HTTP-only Cookie

Jul 17, 20251 min read

  • tech

An HTTP-only cookie cannot be accessed by client-side APIs, such as JavaScript. This restriction eliminates the threat of cookie theft via cross-site scripting (XSS). However, the cookie remains vulnerable to cross-site tracing (XST) and cross-site request forgery (CSRF) attacks. A Cookie is given this characteristic by adding the HttpOnly flag to the Cookie.


Graph View

Backlinks

  • Cookie

Created with Quartz v4.5.1 © 2025

  • GitHub