Chapter 4: Network Communication

In modern browsers, if you connect via secure HTTP, or HTTPS over a secure sockets layer, you’ll get a little green lock, or a gold one depending on your browser, to indicate that you’re in a secure encrypted transaction. Developers pay a Certificate Authority (CA) to make sure that they are who they say they are. And if you happen to come across a site that isn’t a valid site, your web browser will alert you pretty quickly that something is wrong. Unfortunately, there isn’t anything similar in mobile computing—there is no lock or key to comfort the user that any network communication is encrypted.

In this chapter we’ll first take a look at how to send information securely across the network using SSL. In the ...

Get Bulletproof Android™: Practical Advice for Building Secure Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.