PDF에서 메타데이터 가시성 관리

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

메타데이터 범주에는 무엇이 표시되나요?

메타데이터는 PDF 파일을 열 수 있는 사람이라면 누구나 볼 수 있습니다. 이러한 세부 정보에는 다음 항목이 포함됩니다.

// Assign metadata properties to a PDF document
Pdf.MetaData.Author = "John Doe";  // The author of the document
Pdf.MetaData.Keywords = "Key, Word";  // Keywords associated with the document
Pdf.MetaData.CreationDate = DateTime.Today;  // The date the document was created
Pdf.MetaData.ModifiedDate = DateTime.Now;  // The date and time the document was last modified
Pdf.MetaData.CustomProperties.Add("Test", "val");  // Custom properties for additional metadata
Pdf.MetaData.Producer = "test";  // The software used to produce the document
Pdf.MetaData.Subject = "test metadata";  // The subject of the document
Pdf.MetaData.Title = "test";  // The title of the document
Pdf.MetaData.Creator = "test";  // The original creator of the document

// Security settings for the PDF
Pdf.SecuritySettings.UserPassword = "ironuser";  // Password to open and view the PDF
Pdf.SecuritySettings.OwnerPassword = "ironowner";  // Password providing full permissions, including editing
// Assign metadata properties to a PDF document
Pdf.MetaData.Author = "John Doe";  // The author of the document
Pdf.MetaData.Keywords = "Key, Word";  // Keywords associated with the document
Pdf.MetaData.CreationDate = DateTime.Today;  // The date the document was created
Pdf.MetaData.ModifiedDate = DateTime.Now;  // The date and time the document was last modified
Pdf.MetaData.CustomProperties.Add("Test", "val");  // Custom properties for additional metadata
Pdf.MetaData.Producer = "test";  // The software used to produce the document
Pdf.MetaData.Subject = "test metadata";  // The subject of the document
Pdf.MetaData.Title = "test";  // The title of the document
Pdf.MetaData.Creator = "test";  // The original creator of the document

// Security settings for the PDF
Pdf.SecuritySettings.UserPassword = "ironuser";  // Password to open and view the PDF
Pdf.SecuritySettings.OwnerPassword = "ironowner";  // Password providing full permissions, including editing
$vbLabelText   $csharpLabel
  • 소유자 암호만 설정된 경우, 사용자는 모든 문서 속성을 보고 수정하는 기능을 포함하여 PDF 메타데이터에 대한 전체 액세스 권한을 갖습니다.
  • 사용자 암호만 설정된 경우, 해당 암호를 가진 사람만 PDF 파일을 열 수 있습니다. 사용자는 메타데이터 속성을 볼 수는 있지만, 메타데이터를 수정하는 것은 제한됩니다.

[{i:(Adobe Acrobat Pro는 설정된 경우 UserPassword를 제공하여 사용자가 PDF 메타데이터를 편집할 수 있도록 허용합니다. 반면, Foxit과 같은 다른 PDF 뷰어는 PDF를 열고 보기 위한 UserPassword 외에도 PDF 메타데이터를 편집하기 위한 OwnerPassword를 사용자에게 요구합니다.

커티스 차우
기술 문서 작성자

커티스 차우는 칼턴 대학교에서 컴퓨터 과학 학사 학위를 취득했으며, Node.js, TypeScript, JavaScript, React를 전문으로 하는 프론트엔드 개발자입니다. 직관적이고 미적으로 뛰어난 사용자 인터페이스를 만드는 데 열정을 가진 그는 최신 프레임워크를 활용하고, 잘 구성되고 시각적으로 매력적인 매뉴얼을 제작하는 것을 즐깁니다.

커티스는 개발 분야 외에도 사물 인터넷(IoT)에 깊은 관심을 가지고 있으며, 하드웨어와 소프트웨어를 통합하는 혁신적인 방법을 연구합니다. 여가 시간에는 게임을 즐기거나 디스코드 봇을 만들면서 기술에 대한 애정과 창의성을 결합합니다.

시작할 준비 되셨나요?
Nuget 다운로드 17,527,568 | 버전: 2026.2 방금 출시되었습니다