Battle-Tested Best Practices for Securing Android Apps throughout the Development Lifecycle
Android’s immense popularity has made it today’s #1 target for attack: high-profile victims include eHarmony, Facebook, and Delta Airlines, just to name a few. Today, every Android app needs to resist aggressive attacks and protect data, and in Bulletproof Android™, Godfrey Nolan shows you how.
Unlike “black hat/gray hat” books, which focus on breaking code, this guide brings together complete best practices for hardening code throughout the entire development lifecycle. Using detailed examples from hundreds of apps he has personally audited, Nolan identifies common “anti-patterns” that expose apps to attack, and then demonstrates more secure solutions.
Nolan covers authentication, networking, databases, server attacks, libraries, hardware, and more. He illuminates each technique with code examples, offering expert advice on implementation and trade-offs. Each topic is supported with a complete sample app, which demonstrates real security problems and solutions.
Learn how to
Apply core practices for securing the platform
Protect code, algorithms, and business rules from reverse engineering
Eliminate hardcoding of keys, APIs, and other static data
Eradicate extraneous data from production APKs
Overcome the unique challenges of mobile authentication and login
Transmit information securely using SSL
Prevent man-in-the-middle attacks
Safely store data in SQLite databases
Prevent attacks against web servers and services
Avoid side-channel data leakage through third-party libraries
Secure APKs running on diverse devices and Android versions
Achieve HIPAA or FIPS compliance
Harden devices with encryption, SELinux, Knox, and MDM
Preview emerging attacks and countermeasures
This guide is a perfect complement to Nolan’s Android™ Security Essentials LiveLessons (video training; ISBN-13: 978-0-13-382904-4) and reflects new risks that have been identified since the LiveLessons were released.
Table of Contents
- About This eBook
- Title Page
- Copyright Page
- Dedication Page
- Contents at a Glance
- What This Book Is About
- What This Book Is Not About
- Why Care?
- What This Book Covers
- About the Author
1. Android Security Issues
- Why Android?
- Securing the Device
- 2. Protecting Your Code
- 3. Authentication
- 4. Network Communication
- 5. Android Databases
- 6. Web Server Attacks
- 7. Third-Party Library Integration
- 8. Device Security
- 9. The Future
- Code Snippets
- Title: Bulletproof Android™: Practical Advice for Building Secure Apps
- Release date: December 2014
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133995121