In this lecture we will talk about what you should know and consider in the construction of an application developer to ensure the safe use of confidential user data.
14. Interprocess Communication
“In the Android platform, the binder is used for nearly
everything that happens across processes in the core platform."
– Dianne Hackborn
16. Interprocess Communication
- Intents
- Content Providers
- Messenger
- System services (Telephone, Vibrator, Wifi,
Battery, Notification, etc.)
- Lifecycle callbacks in your Activity like
onStart(),onResume(), onDestroy() are invoked
by ActivityManagerServer via binders
27. Risks
- Insecure Data Storage
- Weak Server Side Controls
- Insufficient Transport Layer Protection
- Client Side Injection
- Poor Authorization and Authentication
- Security Decisions Via Untrusted Inputs
- Broken Cryptography
40. Thing to remember
1. Never trust any input (use whitelists not blacklists)
1. Store data securely
4. Use HTTPS with certificate pinning
5. Use Cryptography
6. Don't write your own crypto
2. Make code obfuscation
7. Audit third-party code and services that you use
3. Avoid excessive logging
8. Perform security code review
41. Plan for security from the start - it's not something
you can bolt on at the end
55. Interprocess Communication
“In the Android platform, the binder is used for nearly
everything that happens across processes in the core platform."
– Dianne Hackborn
57. Interprocess Communication
- Intents
- Content Providers
- Messenger
- System services (Telephone, Vibrator, Wifi,
Battery, Notification, etc.)
- Lifecycle callbacks in your Activity like
onStart(),onResume(), onDestroy() are invoked
by ActivityManagerServer via binders
80. Thing to remember
1. Never trust any input (use whitelists not blacklists)
1. Store data securely
4. Use HTTPS with certificate pinning
5. Use Cryptography
6. Don't write your own crypto
2. Make code obfuscation
7. Audit third-party code and services that you use
3. Avoid excessive logging
8. Perform security code review
81. Plan for security from the start - it's not something
you can bolt on at the end