应用程序类型Application types

本主题介绍可以选择创建为启用权限形式的应用程序类型。This topic covers types of applications that you might choose to create as rights-enabled.

Rights Management Services SDK 2.1 当前支持以下应用程序类型The following application types are currently supported by Rights Management Services SDK 2.1

简单应用程序Simple applications

简单应用程序可以是为加密提供的文件而构建的命令行工具。A simple application could be a command line tool built to encrypt a provided file. 有关启用权限的简单应用程序的示例,请参阅开发应用程序中所述的 IPCHelloWorld 实现。For an example of a simple, rights-enabled application see our implementation of IPCHelloWorld, described in Developing your application.

服务器模式应用程序Server mode applications

服务器模式 面向使用、保护或处理受 RMS 保护的内容的非交互式应用程序。Server mode is meant for non-interactive applications that consume, protect or process RMS-protected content. 一个示例是 数据丢失防护 应用程序,该应用程序在文件服务器上作为服务运行,会自动保护敏感文档。An example would be a Data Loss Prevention application that runs as a service on a file server and automatically protects sensitive documents. 有关此应用程序类型的示例,请参阅 IpcDlp 示例See the IpcDlp sample for an example of this application type.

如果应用程序使用 服务器模式,则它应以无提示方式向 RMS 服务器进行身份验证。If your application uses the server mode, it should authenticate to the RMS server silently. 与“客户端模式”不同,RMS SDK 2.1 在未能以无提示方式进行身份验证时不会打开凭据提示。Unlike the client mode, the RMS SDK 2.1 will not open a credential prompt when it fails to authenticate silently. 此外,在 服务器模式 下运行时,无需应用程序清单。Also, when running in server mode, no application manifest is needed.

有关设置 API 安全模式的详细信息,请参阅 设置 API 安全模式For more information on setting the API security mode see, Setting the API security mode.

富客户端应用程序Rich client applications

富客户端应用程序允许用户通过图形用户界面 (GUI) 查看和操作数据。A rich client application allows users to view and manipulate data through a graphical user interface (GUI). 通常,在此 GUI 中呈现的数据具有高价值,对被盗或意外公开十分敏感。Often, the data presented in this GUI is high-value and sensitive to theft or accidental exposure. 信息保护支持通常可增强现有方案,但不是开发应用程序的主要动机。Information protection support typically enhances existing scenarios but, is not the primary motivation for developing the application.

将 RMS SDK 2.1 与富客户端应用程序一起使用可帮助:Using RMS SDK 2.1 with rich client applications helps you:

  • 确保此数据始终进行加密。Ensure that this data is always encrypted.

  • 防止用户将数据提取为不受保护的格式(例如,防止使用剪贴板复制和粘贴)。Prevent users from extracting data to an unprotected format (for example, prevent using the clipboard to copy and paste).

Microsoft 记事本是简单的富客户端应用程序。Microsoft Notepad is a simple rich client application. Microsoft Office 是更加复杂的富客户端应用程序。Microsoft Office is a more complex rich client application.

有关保护应用程序的详细信息,请参阅 了解使用限制For more information on protecting your application, see Understanding usage restrictions.