Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback

Last updated on 9 December 2024

Admin

Overview

This article briefly describes the security and encryption features of the M-Files Mobile application.

Encryption for Android phones

Vault metadata is stored in SQLite database and user offline data are stored in 3rd party database ("MapDB") that encrypts all database files. User login information is stored in the Android SharedPreference file with Android Cipher, which provides the functionality of a cryptographic cipher for encryption and decryption.

The following files are not encrypted:

  • All the files downloaded by users.
  • Some shared preference files that store configuration settings. 
    • Passwords and PIN codes are encrypted, however.
  • SQLite database file is not encrypted by default. 
    • Passwords and pre-shared keys are encrypted in the database, however.

Offline data and metadata structure are cached locally. On an Android phone they may be found in a folder such as Inner memory/Android/data/com.mfiles.mobile/cache/.

Encryption for iOS devices

The app encrypts all files with the NSFileProtectionComplete option. This means that, according to Apple's documentation at the time of writing this: "The file is stored in an encrypted format on disk and cannot be read from or written to while the device is locked or booting.".

Offline data and local metadata structure are stored via Apple's Core Data API. 

Passwords and other sensitive data are stored in Apple's keychain. According to Apple documentation at the time of writing, "The keychain is implemented as an SQLite database, stored on the file system." and "Keychain items are encrypted using two different AES-256-GCM keys: a table key (metadata) and a per-row key (secret key).".

Mobile device Management (MDM)

M-Files provides integrated solutions for configuring and managing M-Files Mobile. See Mobile device management and M-Files Mobile.

Use of mobile device management (MDM) tools for M-Files mobile clients, such as smartphones and tablets, is recommended. These tools can contain the appropriate M-Files app and support wiping the stolen devices remotely. See Protecting File Data at Rest with Encryption in M-Files.pdf.

APP CONFIGURATION FOR ENTERPRISE (ACE)

ACE implementation in M-Files Mobile for iOS and M-Files Mobile for Android make it easy for users to take the applications into use. This requires that the company system administrator has configured the devices by using a Mobile Device Management system supported by AppConfig. Following settings are supported:

  • M-Files pre-shared key for securing the communication.
  • URL for connecting to the M-Files server.
  • M-Files username for logging in to M-Files vaults.

Details about ACE support in M-Files are available in our KB article App Configuration for Enterprise in M-Files iOS and Android.

Automatic logout in M-Files Mobile 

It is possible to change the automatic logout time in M-Files Mobile. Instruction can be found in our KB Specifying the Automatic Logout Time in M-Files.pdf. 

FAQ

Is it possible to use two-factor authentication (we use Azure AD) with the mobile app?

Azure AD does offer an option for two-factor authentication. There are other identity providers that can offer this as well, the setup is the same as with other M-Files clients.

How does the mobile app store session cookies?

Session information is stored with encryption on the device.

Is it possible to hard-code the connection parameters?

This would be implemented with ACE and is also discussed in the article "App Configuration for Enterprise in M-Files iOS and Android" (see above).

Is it possible to use a shared secret between server and mobile app (to prevent users from using unmanaged apps)?

Using a pre-shared key can be enforced for accessing your document vault. You will find details of this approach in our KB article Securing Access to M-Files Vaults with a Pre-Shared Key 

More modern approaches to enhance the security are:

  • Use OAuth for the user logins, so that the authentication is strongly handled by a well known third party (such as Azure AD).
  • Use a Mobile Device Management tool (see above).

You can use these two together.

Still need help?