Ana içeriğe geç

Güvenli Word Belgede n8n

Güvenli Word Belge bir PDF4me düğüm eylemi n8n kilitleyen bir .docx Şifreyle, düzenleme kısıtlamasıyla veya her ikisiyle birlikte korunan bir dosya. Gizli raporları gönderilmeden önce korumak, imzalı bir şablonun değiştirilmesini önlemek veya gözden geçirenlerin sözleşmenin metnini değiştirmeden yorum yapmasına olanak sağlamak için kullanabilirsiniz.

Bu düğüm ne işe yarıyor?

PDF4me WordGüvenli Word Belge uygulanır iki bağımsız koruma türü. Açıkken Güvenli artı Şifreyi Aç Dosyanın açılıp açılmayacağına karar verir. Koruma Türü artı Koruma Parolası Açıldıktan sonra nelerin değiştirilebileceğine karar verir; tamamen salt okunur moddan yorumlara, form alanlarına veya yalnızca izlenen revizyonlara kadar. İkisinden birini veya ikisini birlikte kullanabilirsiniz.

İlgili Blog Yazıları
Bu özellik için henüz bir blog yazısı yok — yakında yayınlanacak.
Bu arada, her platforma yönelik eğitimler ve iş akışları için PDF4me bloguna göz atın.
Blogu ziyaret edin

Kimliğinizi Doğrulama API Rica etmek

Her PDF4me düğümde n8n geçerli bir belge gerektirir Bağlantı kurmak için kimlik bilgisi. İçeriğinizi barındıran birini oluşturun veya seçin. PDF4me API Bu sayede iş akışı, belge güvenliği isteklerini doğrulayabilir.

Kaçırmamanız Gereken Önemli Bilgiler

İki şifre, iki farklı iş
Dosyaya erişim şifresiyle koruma sağlanır. Düzenleme şifresiyle de koruma sağlanır. Şifreleri aynı değere ayarlamak, düzenleyiciye her iki dosyanın da erişim anahtarını verir ki bu da kısıtlamanın amacını ortadan kaldırır.
Düğümün içine asla parola yazmayın.
Girilen her şey doğrudan kaydedilen iş akışına dahil olur. JSONBu, dışa aktarılan ve genellikle git'e kaydedilen bir veridir. Kimlik bilgilerini veya ortam değişkenlerini okuyan bir ifade kullanın.
Koruma uygulanır, geri alınamaz.
Bu işlem ek koruma sağlar. Parolalar kaybolursa bu düğüm üzerinden geri dönüş yolu kalmaz, bu nedenle iş akışı büyük ölçekte çalıştırılmadan önce her iki değeri de saklayın.
n8n'deki PDF4me Word düğümü, İşlem olarak Güvenli Word Belgesi, Word Dosyası Giriş Yöntemi olarak Önceki Düğümden, Açıldığında Güvenli özelliği açık, Koruma Türü olarak Salt Okuma ve Çıkış Dosyası Adı olarak secure_document.docx ayarlanmıştır.

"Güvenli Açılır" bir geçiş düğmesidir ve "Koruma Türü" ayrı bir açılır menüdür ve burada "Sadece Okuma" olarak ayarlanmıştır. Altlarındaki iki parola alanı birbirinden bağımsızdır.

Açık Parola mı Yoksa Düzenleme Kısıtlaması mı?

SoruŞifreyi açDüzenleme kısıtlaması
Which fields set itSecure On Open and Open PasswordProtection Type and Protection Password
What it blocksOpening the document at allChanging the document once open
Can the recipient read itOnly with the passwordYes, reading is always allowed
Typical recipientA named person receiving something confidentialA reviewer or a form filler
Use it whenThe content must not be seen by othersThe content may be seen but not altered

Güvenlik Hangi Parametreleri Kapsar? Word Belgeye mi ihtiyacınız var?

ParametreGerekliNe işe yarar?Örnek
Credential to connect withRequiredThe PDF4me account credential the node authenticates with.PDF4ME account
OperationRequiredThe action this node performs. Select Secure Word Document.Secure Word Document
Word File Input MethodRequiredHow the .docx reaches the node: from the previous node as binary data, as a Base64 string, or from a URL.From Previous Node (Binary Data)
Binary Data Property NameConditionalName of the binary property holding the document. Appears when the file comes from the previous node.data
Document NameRequiredFilename of the input document including the extension. Drives format detection.document.docx
Secure On OpenOptionalToggle that requires a password before the document will open. Leave off if you only want an editing restriction.enabled
Open PasswordConditionalThe password needed to open the file. Required once Secure On Open is enabled. Supply it through an expression, not as literal text.{{ $env.DOC_OPEN_PW }}
Protection TypeOptionalEditing restriction applied to the document: Read Only, Allow Comments, Allow Form Fields, or Allow Revisions.Read Only
Protection PasswordConditionalThe password that lifts the editing restriction. Required once a Protection Type is chosen, and should differ from Open Password.{{ $env.DOC_EDIT_PW }}
Output File NameOptionalFilename of the returned secured document. Keep the .docx extension.secured_document.docx
Output Binary Data NameOptionalBinary property the secured document is written to. Leave as data unless a later node expects another name.data

Koruma Türü seçenekleri

SeçenekAlıcının yapabilecekleri
Read OnlyView the document only. No edits of any kind are accepted.
Allow CommentsAdd and edit comments, but not change the document text itself.
Allow Form FieldsFill in form fields while the surrounding content stays locked.
Allow RevisionsEdit, but only with tracked changes recorded so every alteration is visible.

Çıktı

AlanTipİçeriğinde neler var?
fileNameStringName of the returned secured document.
fileSizeNumberSize of the secured document in bytes.
successBooleanWhether protection was applied. Branch on this so failures surface as alerts.
originalFileNameStringName of the input document as supplied in Document Name.
secureOnOpenBooleanWhether an open password was applied, echoed back for verification.
protectionTypeStringThe editing restriction applied, such as ReadOnly, or empty when none was set.
messageStringHuman-readable status text describing the result of the operation.

Kontrol Etme protectionType Yanıtta, amaçladığınız kısıtlamanın gerçekten uygulandığını doğrulamanın en ucuz yolu budur.

Güvenli kurulumu nasıl yaparım? Word Belgede n8n?

  1. Ekle PDF4me Word düğümü iş akışınıza ekleyin ve ayarlayın. Operasyon ile Güvenli Word Belge.
  2. Seçiminizi yapın PDF4me veya bir tane oluşturup oraya yapıştırabilirsiniz. API anahtar.
  3. Bir tane seçin Word Dosya Giriş Yöntemi ve tedarik etmek .docx altındaki tarlanın içinden.
  4. Ayarlamak Belge Adı Doğru uzantıyla.
  5. Kapıyı açmak için açın. Açıkken Güvenli ve ayarla Şifreyi Aç Kimlik bilgilerinden veya ortam değişkenlerinden.
  6. Düzenlemeyi devre dışı bırakmak için şunu ayarlayın: Koruma Türü ve farklı bir şey tedarik edin Koruma Parolası.
  7. Ayarlamak Çıktı Dosya Adı sonlanan .docx.
  8. Düğümü çalıştırın, onaylayın secureOnOpen Ve protectionType Yanıtı aldıktan sonra, güvenli dosyayı आगे yönlendirin.

Tipik Kurulumlar

İş Akışı ÖrnekleriCommon n8n workflow patterns using Secure Word Document.
Gizli bir rapor gönderin
  1. Raporlama aşaması, hassas rakamlar içeren bir belge oluşturur.
  2. Secure On Open, ortam değişkeninde saklanan bir parolayı kullanır.
  3. Dosya e-posta ile gönderilir ve şifre ayrı bir kanal üzerinden paylaşılır.
Yorumlar için bir sözleşme dağıtın.
  1. Koruma Türü, Yorumlara İzin Ver olarak ayarlanmıştır.
  2. Değerlendiriciler, madde metninde herhangi bir değişiklik yapmadan notlar eklerler.
  3. Geri bildirim, sonradan uzlaştırılacak bir fark olmadan geliyor.
Doldurulabilir bir form dağıtın.
  1. Form Alanlarına İzin Ver seçeneği, çevreleyen metnin sabit kalmasını sağlar.
  2. Alıcılar yalnızca kendileri için ayrılmış alanları doldururlar.
  3. Geri dönen formlar, otomatik olarak ayrıştırılabilecek kadar tutarlıdır.
Onaylanmış bir şablonu kilitle
  1. Şablon onaylandı ve paylaşılan bir sürücüye yayınlandı.
  2. Salt okunur koruma, sessiz yerel düzenlemeleri engeller.
  3. Herkes aynı otoriter ifadeyi temel alarak konuşuyor.

Pratik İpuçları

Keep passwords out of the workflow
An expression reading a credential or environment variable keeps the secret out of exported workflow JSON and out of version control.
Use different values for the two passwords
Reusing one value means anyone who can open the file can also unlock editing, which removes the distinction you set up.
Pick the least restrictive type that works
Allow Comments or Allow Revisions often serves a review better than Read Only, because reviewers can still express changes.
Verify protectionType in the response
The echoed value confirms the restriction landed as intended, which is faster than opening a sample in Word every run.
Secure last in the chain
Watermarking, merging, and header updates all need an editable file. Apply protection after those steps, not before.
Record the passwords before scaling up
This action applies protection and offers no recovery. Store both values in your secret manager before running it across a batch.

Kopya Kağıdı

AlanDeğer
OperationSecure Word Document
Word File Input MethodFrom Previous Node (Binary Data)
Binary Data Property Namedata
Document Namedocument.docx
Secure On Openenabled
Open Password{{ $env.DOC_OPEN_PW }}
Protection TypeRead Only
Protection Password{{ $env.DOC_EDIT_PW }}
Output File Namesecured_document.docx
Output Binary Data Namedata

Sıkça Sorulan Sorular

What is the difference between the open password and the protection password?+
The open password gates the file itself: without it the document will not open at all. The protection password gates editing: the document opens for anyone but stays restricted until that second password is entered. They are separate fields and should hold different values, because a recipient who needs to read but not edit should only ever receive the first one.
What do the Protection Type options do?+
Read Only stops edits entirely. Allow Comments permits commenting but no text changes. Allow Form Fields permits filling fields while the rest stays locked. Allow Revisions permits editing only with tracked changes recorded. Microsoft describes the equivalent desktop behaviour under restricting changes in Word.
Where should I store the passwords in n8n?+
Not in the node. A password typed directly into either field is saved inside the workflow JSON, which gets exported, shared, and often committed to version control. Reference an n8n credential or an environment variable through an expression so the secret stays out of the workflow definition.
Can I apply both an open password and an editing restriction at once?+
Yes. Secure On Open and Protection Type are independent, so a document can require a password to open and still be read-only afterwards. That combination suits a confidential document a named recipient may read but nobody may alter.
How do I remove the protection later?+
Editing restrictions are lifted in Word by supplying the protection password, and the open password is entered when the file is opened. Keep both values in your secret store rather than relying on memory, because this action applies protection and there is no recovery path through it if the passwords are lost.

İlgili Eylemler

Diğer Platformlarda Aynı Görev

Yardım Alın