AlgoGymPreparationInterview Preparations
Cool NotesInput validation and injection
All notes

Input validation and injection

Security · Original AlgoGym revision note with a source for deeper study.

Security
  1. Validate shape and bounds at the server boundary even when the UI validates first.
  2. Parameterize database queries and encode output for the destination context.
  3. Authorization belongs at the resource access point, not only in hidden buttons.
Read more at OWASP Cheat Sheet