Load password-protected file In order to open password-protected Documents, you have to pass your password to LoadOptions class constructor or assign it to its Password property of an instance of LoadOptions class:
const Redaction = require('@groupdocs/groupdocs.Redaction'); const loadOptions = new Redaction.LoadOptions('mypassword'); const redactor = new Redaction.Redactor('protected_sample.docx', loadOptions); try { // Here we can use Document instance to perform Redactions redactor.apply(new Redaction.ExactPhraseRedaction('John Doe', new Redaction.ReplacementOptions('[personal]'))); redactor.save(); } finally { redactor.close(); }...Redaction Product Solution GroupDocs...Acquisition GroupDocs Documentation / GroupDocs.Redaction Product Family...