Book description
The Hands-On, Practical Guide to Preventing Ajax-Related Security Vulnerabilities
More and more Web sites are being rewritten as Ajax applications; even traditional desktop software is rapidly moving to the Web via Ajax. But, all too often, this transition is being made with reckless disregard for security. If Ajax applications aren’t designed and coded properly, they can be susceptible to far more dangerous security vulnerabilities than conventional Web or desktop software. Ajax developers desperately need guidance on securing their applications: knowledge that’s been virtually impossible to find, until now.
Ajax Security systematically debunks today’s most dangerous myths about Ajax security, illustrating key points with detailed case studies of actual exploited Ajax vulnerabilities, ranging from MySpace’s Samy worm to MacWorld’s conference code validator. Even more important, it delivers specific, up-to-the-minute recommendations for securing Ajax applications in each major Web programming language and environment, including .NET, Java, PHP, and even Ruby on Rails. You’ll learn how to:
· Mitigate unique risks associated with Ajax, including overly granular Web services, application control flow tampering, and manipulation of program logic
· Write new Ajax code more safely—and identify and fix flaws in existing code
· Prevent emerging Ajax-specific attacks, including JavaScript hijacking and persistent storage theft
· Avoid attacks based on XSS and SQL Injection—including a dangerous SQL Injection variant that can extract an entire backend database with just two requests
· Leverage security built into Ajax frameworks like Prototype, Dojo, and ASP.NET AJAX Extensions—and recognize what you still must implement on your own
· Create more secure “mashup” applications
Ajax Security will be an indispensable resource for developers coding or maintaining Ajax applications; architects and development managers planning or designing new Ajax software, and all software security professionals, from QA specialists to penetration testers.
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Contents
- Preface
- Preface (The Real One)
- Chapter 1 Introduction to Ajax Security
- Chapter 2 The Heist
- Chapter 3 Web Attacks
- Chapter 4 Ajax Attack Surface
- Chapter 5 Ajax Code Complexity
- Chapter 6 Transparency in Ajax Applications
- Chapter 7 Hijacking Ajax Applications
- Chapter 8 Attacking Client-Side Storage
- Chapter 9 Offline Ajax Applications
- Chapter 10 Request Origin Issues
- Chapter 11 Web Mashups and Aggregators
- Chapter 12 Attacking the Presentation Layer
- Chapter 13 JavaScript Worms
- Chapter 14 Testing Ajax Applications
- Chapter 15 Analysis of Ajax Frameworks
- Appendix A Samy Source Code
- Appendix B Source Code for Yamanner Worm
- Index
- Footnotes
Product information
- Title: Ajax Security
- Author(s):
- Release date: December 2007
- Publisher(s): Addison-Wesley Professional
- ISBN: None
You might also like
book
Securing Ajax Applications
Ajax applications should be open yet secure. Far too often security is added as an afterthought. …
book
Ajax Hacks
Ajax, the popular term for Asynchronous JavaScript and XML, isone of the most important combinations of …
book
Ajax Bible
Build interactive Web applications with Ajax Create live searches and online spreadsheets Discover programming mistakes to …
book
Ajax: The Definitive Guide
Is Ajax a new technology, or the same old stuff web developers have been using for …