本文介绍了如何设置文档权限(RMS)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

使用Office,您可以设置来自功能区的文档权限>文件>信息>保护文档>限制访问权限。我怎么能从代码中做到这一点?

Using Office you can set permissions on document from ribbon > File > Info > Protect Document >restrict Access. How I can do that from code?

在Outlook中退出它很简单就可以设置MailItem.PermissionTemplateGuid

In Outlook it is quit simple you can set MailItem.PermissionTemplateGuid

Word没有这样的属性吧有权限属性对象,但我没有找到任何方式来设置策略的权限。我正在使用Office 2013。

Word doesn't have such property it has Permission property object but i didn't found  any way to set the permission from policy. I am using Office 2013.

任何想法?

推荐答案

信息权限管理(IRM)允许个人和管理员设置对文档,工作簿的访问权限,演示文稿和电子邮件。

Information Rights Management (IRM) allows individuals and administrators to set access permissions to documents, workbooks, presentations, and e-mail messages.

这有助于防止未经授权的人员打印,转发或复制敏感信息。

This helps prevent sensitive information from being printed, forwarded, or copied by unauthorized people.

使用IRM限制文件权限后,即使文件到达非预期的收件人,也会强制执行访问和使用限制。

After permission for a file is restricted by using IRM, the access and usage restrictions are enforced even if the file reaches unintended recipients.

这是因为访问权限存储在文档,工作簿,演示文稿或电子邮件本身中。这些必须针对服务器进行身份验证。

This is because the access permissions are stored in the document, workbook, presentation, or e-mail message itself. And these must be authenticated against the server.

有关详细信息,请单击
here
以便参考使用信息权限管理限制访问

For more information, click here to refer about About restricting access with Information Rights Management

如果要为Microsoft Office Word文档添加保护以防止用户对文档进行任何编辑,

If you want to add protection to Microsoft Office Word documents to prevent users from making any edits to the document,

您可以参考如何:以编程方式保护文档和文档部分

you could refer to How to: Programmatically Protect Documents and Parts of Documents

https://msdn.microsoft.com/en-us/library/ms178793.aspx


这篇关于如何设置文档权限(RMS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 07:51