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
Which category is ranked first in the OWASP Top 10 (2021)?
- Injection
- Cryptographic Failures
- Broken Access Control
- Insecure Design
Show answer
Answer: C. Broken Access Control
A01:2021 is Broken Access Control. Injection fell to third place.
Which HTTP status codes signal a client-side error?
- 200
- 403
- 404
- 502
- 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: 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.
