Skip to main content

Configure File Sharing Policy (Android Enterprise)

The File Sharing Policy feature in SureMDM allows administrators to manage file transfer settings between devices and cloud storage. This includes controlling Cloud-to-Device Sync and Device-to-Cloud Sync, enabling secure and efficient file sharing based on organizational policies.

To configure File Sharing Policy remotely on the enrolled devices, follow these steps:

  1. Navigate to SureMDM Web Console > Profiles > Android > Add > File Sharing Policy > Configure.

  2. Enter a Profile Name.

  3. In the File Sharing Policy Settings screen, enter the following details and click Save.

SettingDescription
Cloud to Device Sync
AddUse this option to add files for sharing. Click Add > select file > Add > Done.
Auto DownloadEnable this option to automatically download selected files to the device.
Set Download PathSpecify the folder path where files should be downloaded. Note: On Android 11+, downloading outside public folders requires Allow All File Access; otherwise, files are saved to the default path (Android/data/com.nix/files/EFSS/). Supported from SureMDM Agent ≥ 27.41.77.
PermissionUse this option to configure file permission detials.
  • Allow File Delete - Grant/Deny the device permission to delete files from the shared storage.
    Note: Supported from SureMDM Agent ≥ 16.41.
  • Allow File Upload- Grant/Deny the device permission to upload files to the cloud or shared storage.
    Note: Supported from SureMDM Agent ≥ 16.41.
  • Ignore Home Folder- When enabled, the home folder will not be visible on the device in SureMDM File Store.
    Note: Supported from SureMDM Agent ≥ 27.09.04.
  • Ignore Shared Folder- When enabled, the shared folder will not be visible on the device in SureMDM File Store.
    Note: Supported from SureMDM Agent ≥ 27.09.04.
DeleteDeletes the selected files from the file store.
Device to Cloud Sync
Enable Device to Cloud SyncTurns on the device-to-cloud file synchronization feature.Note: Supported from Android SureMDM Agent ≥ 27.41.77.
AddUse this option to add a new sync configuration. Configure the following options:
  • Source Path - Specify the file or folder path on the device that needs to be uploaded to the server.
  • Destination Path- Define the server location where the synced file will be stored. Can include Device ID, IMEI, MAC Address, or Serial Number in the path.
  • Pre-Sync Execution Script- Script to run on the device before the sync process begins.
  • Post-Sync Execution Script- Script to run on the device after the sync process completes.
  • Script Execution- Choose whether scripts execute Always or Only when files are transferred.
  • Schedule Sync- Define when the sync occurs: periodically, daily, weekly, or monthly.
  • At- Specify the time (in minutes) for the scheduled sync to run.
Data Upload PreferenceSelect the preferred network type for uploads: any network, Wi-Fi only, or mobile data.
Maximum File Length to be UploadedSet the maximum allowable size for files to be uploaded.
Data Transfer LimitRestrict the total amount of data transferred during sync. Click Add, select duration type, set limit in MB/GB, then click Add.