Please order your requests
tl;dr: use Cap’n Proto
This is a petition to replace per page CSRF tokens with actual proof of causality.
This is not even about security. This is to reduce the amount of unexpected behavior in a program (also known as “bugs”).
iacore: Are You Ordered, Sun?
HTTP: No, I’m stateless.
GraphQL:1
Cap’n Proto: Aye!
If your user clicks one thing after another, there’s probably meaning behind it.
Counter example:
If you are doing CAS, you better provide the expected old state. Alternatively, live in discord.
The Solution
Don’t use ambient authority. Put NFT unforgeable capabilities everywhere inside your application whenever access to resource is concerned.
Use Cap’n Proto until you no longer need it.
Also, consider Capsicum in FreeBSD.
-
I couldn’t find one on https://graphql.org/ in 5 minutes without using omp.↩︎