Glossary coding Term Page
Origin
The browser unit for identifying a web source by protocol, host, and port
Core Idea
An origin is the browser's way of identifying a web source by the combination of protocol, domain, and port. Two URLs can look similar yet still count as different origins when one of those parts changes.
Why It Matters Here
Mathbong uses origins when explaining CORS allowlists, cookie transport, and CSRF defense. It is the first unit you need before browser security rules start making sense.