Skip to content

Commit

Permalink
Add offline reference
Browse files Browse the repository at this point in the history
  • Loading branch information
clementetb committed Oct 16, 2023
1 parent 8e3251c commit a981fc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AppServicesUsageSamples/apps/property-encryption/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Property level encryption
# Property level encryption and offline mode
The goal of property-level encryption is to ensure that only the users themselves can access their data and prevent any unauthorized access by other parties, including MongoDB.

Realm does not have built-in property-level encryption support. However, with this sample we will demonstrate how to add this feature with the Realm Sync and Android Keystore APIs. Furthermore, this solution would enable users to access their data simultaneously from multiple devices. All of this is achieved by leveraging the powerful capabilities of MongoDB services.

Additionally, this demo shows offline mode: once logged in, the user will have access to the device data even if there is no connectivity. Even offline, the user would be able to modify the local data. Such changes would automatically be synced when the device regains connectivity.

## Introduction
Property-level encryption restricts access to sensitive data by applying a ciphering algorithm with a unique key that will encrypt the data on the device. The encrypted data will be synced to Atlas, thus only allowing people with the proper key to be able to read it again. This also includes MonogDB itself.

Expand Down

0 comments on commit a981fc4

Please sign in to comment.