O'Reilly logo

Bulletproof Android™: Practical Advice for Building Secure Apps by Godfrey Nolan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Secure Logins

Providing a secure login mechanism for your users is harder than on the Web. The trend on mobile devices is to make things as easy as possible for the user. Mobile keyboards are also small, so it’s unlikely that someone is going to enter more than six characters to log in to an app.

But if you make it too easy to log in to your app, you run the risk of unauthorized users gaining access to sensitive data by going around this authentication.

The following tokens are common on Android devices as part of the login process:

Image Username and password

Device information, such as DeviceID and AndroidID

Network information, such as IP address ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required