3 ms·
I think this choice was made because Django doesn't _require_ sessions to be used. So they're making a compromise that could (however marginally) improve securi
by ubercore 10y ago
I think this choice was made because Django doesn't _require_ sessions to be used. So they're making a compromise that could (however marginally) improve security regardless of the configuration of the site.
I think perhaps some way of saying "I use sessions, and therefore CSRF should rely on that" could be reasonable, but with security stuff like this I'm really hesitant to say that more definitively.