Bitzu

312-50 ยท Web servers and web applications

Web application architecture and the OWASP Top 10

Three-tier architecture, HTTP methods and status codes, cookies, OWASP Top 10 categories and what each means.

Key points

  • Three tiers: presentation, application logic, data.
  • HTTP is stateless; cookies or tokens carry sessions.
  • OWASP Top 10 (2021): Broken Access Control, Cryptographic Failures, Injection, Insecure Design, Security Misconfiguration, Vulnerable and Outdated Components.
  • Then Identification and Authentication Failures, Software and Data Integrity Failures, Security Logging and Monitoring Failures, SSRF.

Source: https://top10.owasp.org/2021

Practice questions

Single choice

Which category is ranked first in the OWASP Top 10 (2021)?

  1. Injection
  2. Cryptographic Failures
  3. Broken Access Control
  4. Insecure Design
Show answer

Answer: C. Broken Access Control

A01:2021 is Broken Access Control. Injection fell to third place.

Select all that apply

Which HTTP status codes signal a client-side error?

  1. 200
  2. 403
  3. 404
  4. 502
  5. 301
Show answer

Answer: B. 403, C. 404

4xx codes (403, 404) mean the client request was at fault. 200 is success and 502 is a server-side gateway error.

True or false

True or false: HTTP is stateless, so applications use cookies or tokens to remember a user between requests.

Show answer

Answer: True

True. Each request is independent; the session identifier in a cookie or token links requests together.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module