AITeky Learn

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.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 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.
  2. 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.
  3. 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.
  4. 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.

  1. 04 40 min πŸ”’ AiTeky Pass On the job: reviewing a small API before launch A start-up is two weeks from launch. Rate eight review findings by likelihood, impact and effort to fix, order the fixes so that the most risk goes first within the team's capacity, decide what to ship and what to postpone, and write the findings report.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in