16 ways to create a secure android application

19
16 Ways to Create a Secure Android Application

Upload: wiley

Post on 19-Jan-2017

777 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: 16 Ways to Create a Secure Android Application

16 Ways to Create a Secure Android Application

Page 2: 16 Ways to Create a Secure Android Application

The security functionality provided by the Android platform is rich, and strong security mechanisms can be created using built-in features.

Page 3: 16 Ways to Create a Secure Android Application

Here is a list of checks that you can use to assess the security of your application.

Page 4: 16 Ways to Create a Secure Android Application

Check that all code paths into application components expose only the functionality that is intended

Page 5: 16 Ways to Create a Secure Android Application

Minimize the storage of user data down to the essentials

Page 6: 16 Ways to Create a Secure Android Application

Limit interaction with untrusted sources and scrutinize any outside interaction

Page 7: 16 Ways to Create a Secure Android Application

Verify that the minimum possible set of permissions have been requested by the application

Page 8: 16 Ways to Create a Secure Android Application

Ensure that no unintended files are bundled inside the APK

Page 9: 16 Ways to Create a Secure Android Application

Assign permissions to all exported application components

Page 10: 16 Ways to Create a Secure Android Application

Ensure that sensitive inputs do not store any typed-in words into the Android dictionary

Page 11: 16 Ways to Create a Secure Android Application

Ensure that all inputs for user passwords are appropriately masked

Page 12: 16 Ways to Create a Secure Android Application

Ensure that content providers do not have SQL injection vulnerabilities

Page 13: 16 Ways to Create a Secure Android Application

Ensure that file-backed content providers do not provide access to unintended files

Page 14: 16 Ways to Create a Secure Android Application

Ensure that pattern-matching flaws do not exist on any paths protected by permissions

Page 15: 16 Ways to Create a Secure Android Application

Set restrictive file permissions on files stored inside the private data directory

Page 16: 16 Ways to Create a Secure Android Application

Pay attention to the sensitivity of files stored on the SD card

Page 17: 16 Ways to Create a Secure Android Application

Ensure that sensitive files stored anywhere on the filesystem are encrypted

Page 18: 16 Ways to Create a Secure Android Application

Encrypt all communications to the Internet using well-known standards

Page 19: 16 Ways to Create a Secure Android Application

The Mobile Application

Hacker’s Handbookby Dominic Chell, Tyrone Erasmus,

Shaun Colley, and Ollie Whitehouse

THESE ARE JUST SOME OF THE WAYS DEVELOPERS CAN ENSURE THEIR ANDROID APPLICATIONS ARE SECURE.

FOR THE FULL LIST, CHECK OUT