AiTeky Original Interactive Learning & Practice Intermediate
Web application security: injection, scripts, sessions and access control
See in a safe sandbox how a pasted quote can change a database query and how parameters stop it, why unescaped text becomes a script in someone else's browser, how guessable tokens and missing ownership checks expose other people's data, and review a small endpoint like a professional.
Most web breaches are not clever. They are ordinary mistakes repeated in thousands of apps: building a database query from user text, printing user text into a page without care, trusting an id in the URL, creating predictable session tokens. The good news is that each mistake has a small, standard fix.
This course shows each mistake in a safe sandbox inside your browser (a tiny in-memory database and a toy page renderer with made-up data), and then the fix. It is defensive: the aim is that you can recognise and prevent these flaws in code you write or review. Only ever test systems you own or have written permission to test.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
You need basic Python and a little SQL.
- βΆ Run code in your browser. Nothing to install
- β Exercises that check themselves
- π Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 00 25 min π AiTeky Pass Start here: never trust what comes in Learn the single idea behind most web attacks, that input can be written to be mistaken for instructions, and see why a query built by joining strings is dangerous and a parameterised query is not.
- 01 30 min Free sample π AiTeky Pass SQL injection and parameterised queries In a safe in-memory database, see how building a query by joining text lets a quote change its meaning, then fix it with parameters so that input is always treated as data, never as part of the command.
- 02 30 min π AiTeky Pass Cross-site scripting and output encoding Print a visitor's comment into a page with a toy renderer, see how unescaped text becomes active markup in other people's browsers, fix it by encoding output for where it lands, and block dangerous link schemes with an allowlist.
- 03 35 min π AiTeky Pass Sessions, CSRF tokens and ownership checks Compare a guessable session token with a random one, see why a form needs a CSRF token so another site cannot act as the logged-in user, and fix the most common access-control bug, showing someone else's order because the id in the address is not checked against the owner.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

