WEB SECURITY What is the web? In the old days, it was a simple client/server architecture (client was your web browser, server was a machine on the network that could deliver static text and images to your browser). -In the old days, the server-side was much more complex than the client-side: browsers didn't support rich interactivity, but the server might interface with databases, other servers, etc. -Because the server was so much more complicated, "web security" focused on the server-side. Up to this point, this class has largely focused on the server-side as well (e.g., buffer overflows on web servers, privilege separation in the OKWS server). The web has changed: now the browser is very complicated. -JavaScript: Allows a page to execute client-side code. -DOM model: Provides a JavaScript interface to the page's HTML, allowing the page to add/remove tags, change their styling, etc. -XMLHttpRequests (AJAX): Asynchronous HTTP requests. -Web sockets: Full-duplex client-server communication over TCP. -Web workers: Multi-threading support. -Multimedia support: