元数据可见性

This article was translated from English: Does it need improvement?
Translated
View the article in English

元数据类别中可见什么?

元数据对任何能打开PDF的人都是可见的。

这些包括以下项目:

Pdf.MetaData.Author = "John Doe";
Pdf.MetaData.Keywords = "Key, Word";
Pdf.MetaData.CreationDate = DateTime.Today;
Pdf.MetaData.ModifiedDate = DateTime.Now;
Pdf.MetaData.CustomProperties.Add("Test", "val");
Pdf.MetaData.Producer = "test";
Pdf.MetaData.Subject = "test metadata";
Pdf.MetaData.Title = "test";
Pdf.MetaData.Creator = "test";

Pdf.SecuritySettings.UserPassword = "ironuser";
Pdf.SecuritySettings.OwnerPassword = "ironowner";
Pdf.MetaData.Author = "John Doe";
Pdf.MetaData.Keywords = "Key, Word";
Pdf.MetaData.CreationDate = DateTime.Today;
Pdf.MetaData.ModifiedDate = DateTime.Now;
Pdf.MetaData.CustomProperties.Add("Test", "val");
Pdf.MetaData.Producer = "test";
Pdf.MetaData.Subject = "test metadata";
Pdf.MetaData.Title = "test";
Pdf.MetaData.Creator = "test";

Pdf.SecuritySettings.UserPassword = "ironuser";
Pdf.SecuritySettings.OwnerPassword = "ironowner";
Pdf.MetaData.Author = "John Doe"
Pdf.MetaData.Keywords = "Key, Word"
Pdf.MetaData.CreationDate = DateTime.Today
Pdf.MetaData.ModifiedDate = DateTime.Now
Pdf.MetaData.CustomProperties.Add("Test", "val")
Pdf.MetaData.Producer = "test"
Pdf.MetaData.Subject = "test metadata"
Pdf.MetaData.Title = "test"
Pdf.MetaData.Creator = "test"

Pdf.SecuritySettings.UserPassword = "ironuser"
Pdf.SecuritySettings.OwnerPassword = "ironowner"
VB   C#
  • 当只设置了所有者密码时,用户可以完全访问PDF元数据,包括查看和修改所有文档属性的能力。
  • 当只设置用户密码时,只有知道密码的人才能打开PDF。 用户可以查看元数据属性,但修改元数据是受限的。

    请注意
    Adobe Acrobat Pro允许用户通过提供UserPassword(如果已设置)来编辑PDF元数据。 相比之下,像Foxit这样的其他PDF查看器要求用户除了提供用于打开和查看PDF的用户密码之外,还必须提供所有者密码以编辑PDF元数据。