Module 6: Web Application & Wireless Security
Web applications (websites, APIs, web services) are critical attack surfaces because they are directly accessible from the internet and handle user input.
Web Architecture Review
Most web applications follow a three-tier architecture:
- Presentation Tier: The user interface (HTML, CSS, JavaScript).
- Application Tier: The server-side logic (PHP, Python, Java, Node.js) that processes input.
- Data Tier: The backend database (MySQL, PostgreSQL) that stores information.
Key Security Concept: Trust Boundary
Never trust any input received from the client (Presentation Tier). All data from a user's browser must be treated as hostile and validated, sanitized, and escaped on the server (Application Tier) before being processed or inserted into the database.