How to use Smart Media Sharing
TOTALDataTM Encryption is used to protect the data created by the mobile app on the device and the data stored within a mobile app. Smart Media Sharing is an extension to Appdome TOTALDataTM Encryption, which allows media files and content handoff to external and embedded media players.
This Knowledge Base article describes Appdome’s Smart Media Sharing feature and explains how to add it to any mobile app as part of a comprehensive mobile Data Loss Prevention (DLP) solution.
We hope you find this knowledge base useful and enjoy using Appdome!
About Smart Media Sharing on Appdome
Android and iOS MediaPlayer run on a separate process from the application. Same as most Android services, it runs as a System Service, under System user (UID 0). WhenAppdome TOTALDataTM Encryption is enabled, all stored data generated by the app, including media files, is encrypted at runtime using industry standard AES 256 cryptographic protocols. However, when MediaPlayer attempts to read encrypted media files, it will fail to decrypt the files.
Smart Media Sharing enables capturing initial access to an encrypted media file by the application and replacing it with a temporary one-time file path. This way assuring the media player can access unencrypted data. Smart Media Sharing applies secure media files and content handoff to external and embedded media players. This secured handoff is completed on-demand and while the data is in transit.
An alternative and more time-consuming solution is for the app developer to re-write the code to work with FileProvider (Android) or use other methods than AVURLAsset / file:// URL (iOS), which will be “aware” of Appdome TOTALDataTM Encryption. However, this a technically challenging approach and in most cases, the application architecture does not allow using Content Providers. In other cases, the developer might not have access to the mobile app’s source code. Additionally, unlike Smart Media Sharing, working with FileProvider is constricting, as it allows access only to a fixed list of directories declared during development.
Smart Media Sharing allows you to use standard POSIX file I/O, without any extra development effort, as an extension of Appdome TOTALDataTM Encryption. When implementing Appdome Smart Media Sharing, the developers can add a wide variety of features, SDKs, and APIs to Android and iOS apps and can choose any architecture and file I/O API.
Appdome is a mobile integration platform as a service (iPaaS) that allows users to add a wide variety of features, SDKs, and APIs to Android and iOS apps. Using a simple ‘click to add’ user interface, Appdome allows anyone to easily implement Smart Media Sharing in any mobile app – instantly, no code or coding required.
Using Appdome, there are no development or coding prerequisites. For example, there is no Appdome SDK, libraries, or plug-ins to implement. Likewise, there is no requirement to implement encryption libraries or intercept all writing of files to the sandbox for developing Secure TOTALDataTM Encryption Container and Smart Media Sharing capabilities for Android or iOS apps. Using Appdome, mobile apps will have Smart Media Sharing capabilities as if they were natively coded into the app – all without writing or changing a single line of code.
Prerequisites for Using Appdome’s Mobile TOTALDataTM Encryption with Smart Media Sharing
How to Add Smart Media Sharing to Any Mobile App on Appdome
Follow these step-by-step instructions to add Smart Media Sharing to Any Mobile App.
Upload a Mobile App to Your Account
From the Build tab, select Security
- Go to TOTALDataTM Encryption which is under Appdome Security Suite
- Enable Data at Rest Encryption
- Click on the toggle to enable Smart Media Sharing
Note! for iOS apps, the Smart Media Sharing features are added automatically to every application as an extension of TOTALDataTM Encryption.
- . Click Build My App
The technology behind Build My App has two major elements – (1) a microservice architecture filled with 1000s of code sets needed for mobile integrations, and (2) an adaptive code generation engine that can recognize the development environment, frameworks and methods in each app and match the app to the relevant code-sets needed to add MicroVPN to the mobile app in seconds.
Congratulations! You now have a mobile app fully integrated with Smart Media Sharing.
After Adding Smart Media Sharing to a Mobile App on Appdome
After you have added Smart Media Sharing to any Mobile App on Appdome, there are a few additional steps needed to complete your mobile integration project. Read this Knowledge Base article to learn what to do after you successfully Build an app. It explains both optional steps and required steps.
That is it – Enjoy Appdome with Smart Media Sharing in your app!
How Do I Learn More?
If you have any questions, please send them our way at firstname.lastname@example.org or via the chat window on the Appdome platform.