unguessable identifier
An identifier made from enough random bits, such as secrets.token_urlsafe(12), that nobody can guess another valid one.
In more detail
They stop cheap counting through records. They do not stop a leaked identifier, which travels through Referer headers, tickets, shared links and browser history, so the ownership check must still be there.
Related terms
- enumeration attack — Recovering a hidden value by trying every possibility in a small, known set until one matches, such as every date of birth or every username.
- defense in depth — Using several independent protections, so that if one fails another still limits the damage.
- Referer header — The request header in which a browser tells a site which page linked to it, often including the full URL.
Taught in
- Broken Object Level Authorization — Application Security & Threat Modeling for Engineers