Smart Media Sharing - Secure Offline Data Access

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 – to enable secure offline data access.

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. See how Smart Media Sharing comes with additional security controls that may be required to ensure secure offline data access.

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 ensures that 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 Appdome Mobile TOTALDataTM Encryption with Smart Media Sharing – secure offline data access. 

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

Please follow these steps to add a mobile app to your Appdome account.
If you don’t have an Appdome account, click here to create an account.

From the Build tab, select Security

  1. Go to TOTALDataTM Encryption which is under Appdome Security Suite
  2. Enable Data at Rest Encryption
  3. Click on the toggle to enable Smart Media Sharing
  4. 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.

smart media sharing for secure offline data access

After Adding Smart Media Sharing to enable secure offline access in Android and iOS apps, there are a few remaining steps:   

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 Built 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?

Check out Appdome’s Mobile App Security Suite or request a demo at any time.

If you have any questions, please send them our way at or via the chat window on the Appdome platform.

Thank you!

Thanks for visiting Appdome! Our mission is to make mobile integration easy. We hope we’re living up to the mission with your project. If you don’t already have an account, you can sign up for free.

Kai Kenan

Have a question?

Ask an expert

TomMaking your security project a success!