跳转至

Decrypt individual values in Foundry applications(在 Foundry 应用中解密单个值)

Render encrypted values in objects

Cipher-encrypted property values can be selectively decrypted to be viewable in Workshop and Object Explorer. Users with access to relevant Cipher Licenses will be able to decrypt the value(s) after filling out a justification prompt.

You must designate this decryption in the Properties view of the Ontology Manager. For each Cipher-encrypted field, go to the Property Type field and select Cipher text from the dropdown. You can also choose the Plaintext Type to capture the data type pre-encryption, and specify a Default Encryption Cipher Channel to use for encrypting edits to initially empty or unencrypted fields.

Ontology_App

Value_Renderer

Properties marked as CipherText will be rendered with the Encrypted Value renderer. This will allow each value to be rendered and selectable in most Foundry frontends, including Workshop and Object Explorer.

If you would like to allow users to update the encrypted values, for example, to correct typos, we recommend using the updateAsync function and hooking it to an action.

To allow for in-line edits, add the cipher: editable type class to the property. This method is not typically recommended as it requires your object to be stored in Object Storage V1 and to allow for edits through API calls. Users will need the appropriate license(s) with encryption capabilities to edit values.

Previously, string properties were rendered with the Encrypted Value renderer by using the RID Renderer option in the Value Formatting section of the Ontology App. We recommend you use the CipherText property type instead.


中文翻译


在 Foundry 应用中解密单个值

在对象中渲染加密值

经过 Cipher 加密的属性值可以有选择性地解密,以便在 WorkshopObject Explorer 中查看。拥有相关 Cipher 许可证的用户在填写理由提示后,即可解密这些值。

您必须在 Ontology Manager属性 视图中指定此解密操作。对于每个经过 Cipher 加密的字段,请进入 属性类型 字段,并从下拉菜单中选择 Cipher 文本。您还可以选择 明文类型 以捕获加密前的数据类型,并指定一个 默认加密 Cipher 通道,用于对初始为空或未加密的字段进行编辑加密。

Ontology_App

Value_Renderer

标记为 CipherText 的属性将使用 加密值 渲染器进行渲染。这将使每个值在大多数 Foundry 前端(包括 WorkshopObject Explorer)中可渲染且可选择。

如果您希望允许用户更新加密值(例如修正拼写错误),我们建议使用 updateAsync 函数,并将其绑定到一个 操作 上。

要允许内联编辑,请将 cipher: editable 类型类添加到属性中。此方法通常不推荐使用,因为它要求您的对象存储在 Object Storage V1 中,并允许通过 API 调用进行编辑。用户需要具备相应加密功能的许可证才能编辑值。

此前,字符串属性通过使用 Ontology 应用程序中 值格式 部分的 RID 渲染器 选项,以 加密值 渲染器进行渲染。我们建议您改用 CipherText 属性类型。