Storing user data is a key consideration for every Android app, and there a ton of different approaches to take.
Android Security: Protecting User Data Storage, you’ll learn to safely store your user’s data. First, you’ll explore the different storage methods, their use cases, and security implications.
Next, you’ll discover storing data using Android’s new Scoped Storage API. Finally, you’ll learn how to exchange files with other apps. When you’re finished with this topic , you’ll have the skills and knowledge of Android development using Kotlin needed to safely manage your user’s data.
Topics that you will find in this Heavy Android Demo Driven Code because I believe working demo code can give better reference.
- Understanding Android Storage Options
- Understanding Android Encryption Options
- Securely Storing User Data
- Working with Unstructured User Data
- Securely Storing User Files
- Securely Sharing Files with Other Apps
- Leveraging File Providers
- Retrieving Files in Scoped Storage
- Retrieving Files with Storage Access Framework
- Saving and Displaying Copied Files
We've covered quite a bit of information in a very short amount of time, so let's quickly review. User storage is an important part of a successful app, and there are a ton of options, so it's important to understand what makes sense for your particular use case. To help with that, I introduced the storage decision framework to help you determine which option is best suited for your needs. The first storage method that we examined was user data. The two forms of this are structured, such a SQLite or Room, and unstructured, such as shared preferences.
Next, we tackled how to store user files and all of the different options that are available. We also looked at the impact of the new scoped storage approach unveiled by Google. We wrapped up the course by sharing files we created to other apps, as well as retrieving files from other apps and pulling them into our own. I hope that you found the content valuable and that you're confident in your ability to leverage user storage in your future work. If you have any questions or comments, please reach out in the course discussion below. Thanks again, and be on the lookout for other Android topic that I'll be publishing in the future.
Git Hub Account Link :
https://github.com/Abhinaw/Android-Security-User-Data/tree/master
Note: Download the code and try to integrate the concept and approach in your app. This is the best way to implement the Android Security in your local storage and User Data in local storage. So that your app can not be vulnerable with respect to Android Security Testing.