An API lets every origin read along with the customer's cookie. You measure it, understand why * is no solution and build a fixed allow list.
WebIntermediate 25 min Simulation in your browser, no real systems - You check with curl -H "Origin: …" which sites an API lets read along.
- You know why a reflected origin with credentials is dangerous and why * with credentials does not work.
- You write an allow list with map and recognise unanchored expressions, null and http as gaps.