可以“静止数据"吗?在Realm Mobile Platform中被加密? [英] Can "data at rest" in the Realm Mobile Platform be encrypted?

查看:102
本文介绍了可以“静止数据"吗?在Realm Mobile Platform中被加密?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Realm支持在创建Realm时提供64字节的加密密钥,并使用AES-256 + SHA2对磁盘上的数据库文件进行加密.

Realm supports encrypting the database file on disk with AES-256+SHA2 by supplying a 64-byte encryption key when creating a Realm.

由于 Realm Mobile Platform 是自托管的(内部或通过云),这是否也有效地意味着可以使用相同的数据库文件加密?我假设是",但是由于我总是被教成从不假设",所以我想在这里问这个问题.

Since the Realm Mobile Platform is self hosted (inhouse or via cloud) - does that effectively also mean that this same database file encryption is available ? I'm assuming 'yes' but since I was always taught "never assume" I wanted to ask the question here.

推荐答案

是的,相同的加密也可用于同步领域.但是,请注意,如果您为SyncConfiguration提供加密密钥,则仅本地文件被加密,而服务器或其他设备上的文件则不被加密.您还需要在每一个上提供加密.

Yes, the same encryption is also available for synched Realms. However, note that if you supply an encryption key to the SyncConfiguration only the local file is encrypted, not the file on the server or other devices. You would need to supply the encryption on each of these as well.

这还意味着一台设备可以对数据进行加密,然后将其发送到将其保存为未加密状态的设备.

This also means that it is possible for one device to encrypt the data and send them to a device that saves them unencrypted.

如果您启用了TLS,则我们将使用TLS(应启用).

On the wire we use TLS if you enabled it (which you should).

这篇关于可以“静止数据"吗?在Realm Mobile Platform中被加密?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆