The Tangled Web: A Guide to Securing Modern Web Applications

Michal Zalewski
4.05
552 ratings 41 reviews
"Thorough and comprehensive coverage from one of the foremost experts in browser security." —Tavis Ormandy, Google Inc.Modern web applications are built on a tangle of technologies that have been developed over time and then haphazardly pieced together. Every piece of the web application stack, from HTTP requests to browser-side scripts, comes with important yet subtle security consequences. To keep users safe, it is essential for developers to confidently navigate this landscape. In The Tangled Web, Michal Zalewski, one of the world's top browser security experts, offers a compelling narrative that explains exactly how browsers work and why they're fundamentally insecure. Rather than dispense simplistic advice on vulnerabilities, Zalewski examines the entire browser security model, revealing weak points and providing crucial information for shoring up web application security. You'll learn how to: Perform common but surprisingly complex tasks such as URL parsing and HTML sanitization Use modern security features like Strict Transport Security, Content Security Policy, and Cross-Origin Resource Sharing Leverage many variants of the same-origin policy to safely compartmentalize complex web applications and protect user credentials in case of XSS bugs Build mashups and embed gadgets without getting stung by the tricky frame navigation policy Embed or host user-supplied content without running into the trap of content sniffing For quick reference, "Security Engineering Cheat Sheets" at the end of each chapter offer ready solutions to problems you're most likely to encounter. With coverage extending as far as planned HTML5 features, The Tangled Web will help you create secure web applications that stand the test of time.
Genres: TechnologyProgrammingNonfictionHackersTechnicalComputer ScienceReferenceSoftwareComputersTextbooks
320 Pages

Community Reviews:

5 star
203 (37%)
4 star
216 (39%)
3 star
97 (18%)
2 star
27 (5%)
1 star
9 (2%)

Readers also enjoyed

Other books by Michal Zalewski

Lists with this book

The Tangled Web: A Guide to Securing Modern Web Applications
A Bug Hunter's Diary: A Guided Tour Through the Wilds of Software Security
Practical Malware Analysis: The Hands-On Guide to Dissecting Malicious Software
Books For the Aspiring Hacker
66 books12 voters
Security Engineering: A Guide to Building Dependable Distributed Systems
Introduction to Security and Applied Cryptography
Practical Malware Analysis: The Hands-On Guide to Dissecting Malicious Software
Information Security
79 books39 voters
Hackers: Heroes of the Computer Revolution
The Cuckoo's Egg: Tracking a Spy Through the Maze of Computer Espionage
Ghost in the Wires: My Adventures as the World's Most Wanted Hacker
Hacker nonfiction
65 books95 voters
Hacking: The Art of Exploitation
Attacking Network Protocols: A Hacker's Guide to Capture, Analysis, and Exploitation
Game Hacking: Developing Autonomous Bots for Online Games
No Starch Press
102 books9 voters