← Graph

Reject invalid input as early as possible

takeaway 1 connections

As soon as someone sends data your system should process, check it; if invalid, reject with an appropriate HTTP error status. Coercion is occasionally right, but more often than not bad data should be rejected outright.

type
recommendation
takeaway Reject invalid input as early as possible
from_talk
Complementary recommendation from the talk.

Provenance