Lesson 1: Why code is a target · 9 min
Before you begin · The quick search box · What went wrong?
Learners sign in, so every finish and score is recorded. 8 fields to fill in with your details.



Minutes are an estimate.
Before you begin · The quick search box · What went wrong?
The list · More categories · Check
Injection · Access control · Try it
Secrets · Dependencies and logs · Try it
Review checklist · What would you do? · Check
Next steps · Practice
Taken from the course itself.
Dev's search box builds a query from the user's text. What is the core problem?
Answer: It trusts input and treats it as part of the command. Input must be treated as data only. Mixing it into a command lets users change the command.
Lesson 1: Why code is a target
Why are parameterised queries safer than joining strings?
Answer: They keep input as data, so it cannot change the command. The database treats the input only as a value, never as part of the command.
Lesson 3: Prevent injection and access flaws
A finding cannot be fixed before release. What should happen?
Answer: The owner records it and a named person approves the risk. Accepted risks are recorded, owned and approved by the right person. They are not forgotten.
Lesson 5: Grey areas: speed, reviews and reporting
A colleague builds a query by joining strings.
Best response: Show the parameterised approach and add a test.
Weaker responses: Leave it; Rely on the front end; Shame the colleague.
Comments from trainers
No comments yet. Tell other trainers how the course went.
Your comment
Comments are public. We remove spam and personal details.