Buy new:
-39% $36.48$36.48
FREE delivery Wednesday, January 7
Ships from: Amazon Sold by: TRIO ALLIANCE
Save with Used - Very Good
$14.88$14.88
FREE delivery January 8 - 12
Ships from: Better World Books: South Sold by: Better World Books: South
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
The Tangled Web: A Guide to Securing Modern Web Applications First Edition
Purchase options and add-ons
--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
- ISBN-101593273886
- ISBN-13978-1593273880
- EditionFirst Edition
- PublisherNo Starch Press
- Publication dateNovember 15, 2011
- LanguageEnglish
- Dimensions6.94 x 0.79 x 9.19 inches
- Print length320 pages
Frequently bought together

What other items do customers buy after viewing this item?
JavaScript for hackers: Learn to think like a hackerPaperbackFREE Shipping by AmazonGet it as soon as Thursday, Jan 8
The Web Application Hacker's Handbook: Finding and Exploiting Security FlawsPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Wednesday, Jan 7
Web Application Security: Exploitation and Countermeasures for Modern Web ApplicationsPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jan 7Only 3 left in stock (more on the way).
Web Security for Developers: Real Threats, Practical DefensePaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Wednesday, Jan 7Only 2 left in stock - order soon.
The Browser Hacker's HandbookPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Wednesday, Jan 7Only 3 left in stock (more on the way).
Designing Secure Software: A Guide for DevelopersPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jan 7Only 1 left in stock - order soon.
Customers also bought or read
- The Web Application Hacker's Handbook: Finding and Exploiting Security Flaws
Paperback$32.49$32.49Delivery Wednesday - Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters
Paperback$30.19$30.19Delivery Wednesday - Practical Malware Analysis: The Hands-On Guide to Dissecting Malicious Software
Paperback$42.70$42.70FREE delivery Wednesday - Bug Bounty Bootcamp: The Guide to Finding and Reporting Web Vulnerabilities
Paperback$33.80$33.80Delivery Wednesday - Web Application Security: Exploitation and Countermeasures for Modern Web Applications
Paperback$44.94$44.94FREE delivery Wednesday - JavaScript: The Definitive Guide: Master the World's Most-Used Programming Language#1 Best SellerJavaScript Programming
Paperback$34.30$34.30Delivery Wednesday - From Day Zero to Zero Day: A Hands-On Guide to Vulnerability Research
Paperback$35.70$35.70FREE delivery Wednesday - The Practice of Network Security Monitoring: Understanding Incident Detection and Response
Paperback$40.41$40.41$3.99 delivery Thu, Jan 29 - The Shellcoder's Handbook: Discovering and Exploiting Security Holes
Paperback$37.32$37.32FREE delivery Wednesday - The Cuckoo's Egg: Tracking a Spy Through the Maze of Computer Espionage
Paperback$17.34$17.34Delivery Mon, Jan 12 - Hacking APIs: Breaking Web Application Programming Interfaces
Paperback$33.91$33.91Delivery Wednesday - Attacking Network Protocols: A Hacker's Guide to Capture, Analysis, and Exploitation
Paperback$40.49$40.49FREE delivery Fri, Jan 30 - Malware Development for Ethical Hackers: Learn how to develop various types of malware to strengthen cybersecurity
Paperback$47.99$47.99FREE delivery Wednesday - Operating Systems: Three Easy Pieces#1 Best SellerComputer Operating Systems Theory
Paperback$28.27$28.27Delivery Wednesday - The Basics of Hacking and Penetration Testing: Ethical Hacking and Penetration Testing Made Easy
Paperback$18.51$18.51FREE delivery Wed, Jan 14 - Hands on Hacking: Become an Expert at Next Gen Penetration Testing and Purple Teaming
Paperback$24.99$24.99Delivery Wednesday - The Hardware Hacking Handbook: Breaking Embedded Security with Hardware Attacks
Paperback$29.44$29.44Delivery Mon, Jan 19 - Serious Cryptography, 2nd Edition: A Practical Introduction to Modern Encryption
Paperback$26.80$26.80Delivery Wednesday - Rootkits: Subverting the Windows Kernel: Subverting the Windows Kernel
Paperback$44.91$44.91FREE delivery Wednesday
Editorial Reviews
Review
—Britt Kemp, Bishop Fox Labs
About the Author
Product details
- Publisher : No Starch Press
- Publication date : November 15, 2011
- Edition : First Edition
- Language : English
- Print length : 320 pages
- ISBN-10 : 1593273886
- ISBN-13 : 978-1593273880
- Item Weight : 1.36 pounds
- Dimensions : 6.94 x 0.79 x 9.19 inches
- Best Sellers Rank: #1,133,543 in Books (See Top 100 in Books)
- #502 in Computer Hacking
- #816 in Computer Network Security
- #1,679 in Internet & Telecommunications
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on June 9, 2012Format: PaperbackVerified Purchase"Gaining insights into the underlying mechanics of web applications is far more important that memorizing several thousand random and often unnecessary terms."
That one sentence sums up why "The Tangled Web" is, hands down, the best book on web and browser security. It is all too easy to criticize, lament, and create paranoid scenarios about the "unsound security foundations" of the web. Truth is, all of that criticism is true, and yet the web has proven to be an incredibly robust platform. In this book Michal Zalewski walks us through the history and the evolution of the architecture of the popular browsers, servers, protocols, and everything in between - as it relates security of modern web applications.
Instead of focusing on the usual security acronyms and "attack classes", this book will give you something much more powerful: a bottom up understanding of how a modern browser operates, why it does what it does, and what implications this has for designing more secure applications. This book should be mandatory reading for every web-developer. Highly recommend it.
- Reviewed in the United States on December 1, 2011Format: PaperbackVerified PurchaseThe book provides systematic coverage of browser security. The first 6 pages of chapter 1 provide brilliant insight into why formal security models, risk management and taxonomies fail to deliver promised security improvements to organizations that embrace them. I used to explain the same with a lot of hand weaving, Zalewski's approach and insight are far superior.
Make no mistake, the book is focused on the browser and related technologies rather than the theory of security. The same tremendous insight, that made me nod with appreciation and wish that I had the book 5 years ago while working on security policies, illuminates browser concepts like in-browser content separation, scripting, and much more.
I appreciate the authors treatment of each of the concepts in the context of the browser as a complex and still evolving technology, with it's own history, standards, market requirements and politics.
- Reviewed in the United States on December 13, 2014Format: PaperbackVerified PurchaseAt first i was conservative about this book because of the topics, URL, HTML, etc... However, since i'm a Zalewski's fan, i decided to try it. When i read the first chapter, i got my mind blown. So many details where in front of me and i didn't realize until now. It's certainly a book for application security professionals, not for beginners.
- Reviewed in the United States on September 4, 2017Format: KindleVerified PurchaseIt's an impressive web and browser insideout.
This book is for you, if you want to learn the pitfalls.
- Reviewed in the United States on April 11, 2013Format: PaperbackVerified PurchaseThis book is AWESOME. One should not be allowed to work on sensitive product without studying it.
Before I didn't even realized that e.g. when Flash makes cross domain requests it appends all ambient credentials - and there are so many insights like this in this book.
While reading I also found a bunch of critical vulnerabilities in the projects I know.
- Reviewed in the United States on July 4, 2014Format: KindleVerified PurchaseDid you know that every web application should have a crossdomain.xml? Check the top level of most popular sites. That is just one of the tips available in the Security Engineering Cheat Sheets in this book. Some of the content is a little dated but the guidance is very applicable.
- Reviewed in the United States on December 11, 2014Format: KindleVerified PurchaseReally expected more from this book. It does have some interesting bits, but it lacks depth, does not manage to pull my attention. I develop Web systems for a living and am security-minded, so I might be biased on this, but it is the demographics I think it would most cater to!
- Reviewed in the United States on August 23, 2013Format: PaperbackVerified PurchaseThe book is very well written and goes through modern web application vulnerabilities. The author, as always, gives examples and very clear explanations.
Top reviews from other countries
-
ThomasReviewed in France on May 27, 20211.0 out of 5 stars Pas de table des matières dans le Kindle
Format: KindleVerified PurchaseCe livre est sans doute intéressant, mais il manque une table des matières dans la version Kindle, ce qui le rend peu pratique si l'on a acheté ce livre comme outil plutôt qu'un livre qui se lit de la première à la dernière page.
David MReviewed in the United Kingdom on January 1, 20205.0 out of 5 stars Excellent
Format: PaperbackVerified PurchaseReading some of the reviews on the main amazon.com website it's quite clear to understand that this book is not for a developer trying to understand how to defend their websites against attack, and I'd certainly not recommend it for that purpose. What it is excellent at is giving an overview of the mess that is modern browser security. It's getting old now, but the way it's written (and I assume the reason that it is a little rambling) it's a dude trying to explain what he feels you should know about the way the internet works, many times during the book even before I've asked 'does this mean x is possible if we get it wrong' - he's got an example of it. It's a great book, and if you take it for what it is, there's nothing that has the gives you the same insight and depth into the (well in 2020 not so much) way the modern web works and the pitfalls that are all too easy to fall into. 5*
AkhenatonReviewed in Germany on December 3, 20125.0 out of 5 stars Untangled my tangled understanding
Format: KindleVerified PurchaseZalewski's clear, often humorous, always broad and superbly documented "archaeology" of the web had a sanitizing effect on my understanding that standard security books do not provide. As he walks you down and around the paths, decisions, insights and mistakes (and mistakes and mistakes and mistakes) that made the web so tangled, he not only provides much useful information on, and "an attitude" towards security, but may in fact untangle a web-tangled understanding of somewhat confusing issues. To top it all, it's a great read - I hardly felt I was reading something so technical. Very recommended.
-
Andrea BerardiReviewed in Italy on July 28, 20205.0 out of 5 stars Ottimo libro, assolutamente consigliato!
Format: PaperbackVerified PurchaseVeramente un ottimo libro, molto interessante e chiaro.
Come al solito No Starch Press non delude, contenuti ottimi e anche attuali. D’altronde la sicurezza sul web è uno dei temi centrali dei nostri tempi.
JonathanReviewed in Canada on April 26, 20244.0 out of 5 stars Outdated but good resource
Format: PaperbackVerified PurchaseIn 2024, I would not recommend this book simply because it is outdated now. When it was written, this is an adequate guide for learning about web security design and application.

















