Parolalar, Güvenlik & Metaveri

IronPDF, PDF metadata ve guvenlik ayarlari uzerinde değişiklikler yapabilir. Guvenlik acisindan, bu PDF'leri sadece okunabilir, bastirilamaz, parola korumali ve sifrelenebilir yapma yetenegini icerir. Metadata icin, bu yeni özellikler tanimlama ve mevcut olanlari duzenleme yetenegini icerir.

To manage a PDF's metadata in IronPDF for Java, the developer must first retrieve a reference to its MetadataManager. Bu sınıf PDF'in meta icerigine dogrudan erişim ve duzenleme icin metodlar saglar. Geliştiriciler, PDF belgelerinde tanimlanmis yaygin olarak tanimlanan meta özellikleri hizli bir sekilde okuyabilir ve aynı isimli getter ve setter'larla duzenleyebilir.

Uygun getter ve setter'larla özelliklerin tam listesi asagidadir:

  • Producer
  • CreationDate
  • Creator
  • Author
  • Keywords
  • Subject
  • Title
  • ModifiedDate

The code example uses the setAuthor, setTitle, setKeywords, and setModifiedDate methods to modify the working document's author, title, and keywords.

To get and set properties other than the ones previously listed, use the getAnyMetadata and setAnyMetadata methods with the name of the desired property.

Likewise, accessing and modifying security settings on a PDF document must be done through a SecurityManager. Call getSecurity on a PdfDocument to retrieve a reference to its SecurityManager and use it to restrict access to the PDF as required for the intended use.

Java developers can use a SecurityOptions object for more granular control over PDF security settings.

Java PDF Yonetimi icin MetadataManager API'yi araştırin

Başlamaya Hazır mısınız?
Sürüm: 2026.4 yeni yayınlandı
Still Scrolling Icon

Hala Kaydiriyor musunuz?

Hızlı bir kanit mi istiyorsunuz?
bir örnek çalıştır HTML'nizin PDF olduğunu izleyin.