Skip to main content
tomc92012983
Participant
December 13, 2018
Answered

Document is Protected - How do I Enter Permissions Password?

  • December 13, 2018
  • 8 replies
  • 3013 views

I am attempting to edit a document (that I initiated) and I'm told the document is protected and I need to enter a Permissions Password to proceed.

Can you help me?

Correct answer try67

If you don't know the password, no.

8 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
December 13, 2018

If you don't know the password, no.

Known Participant
May 28, 2024

i know the password , but removing protection is failing

emoveProtectionOperation removeProtectionOperation = RemoveProtectionOperation.CreateNew();

// Set operation input from a source file.
FileRef sourceFileRef = FileRef.CreateFromLocalFile(@"test.docx");
removeProtectionOperation.SetInput(sourceFileRef);

// Set the password for removing security from a PDF document.
removeProtectionOperation.SetPassword("password");

// Execute the operation.
FileRef result = removeProtectionOperation.Execute(executionContext);

Bernd Alheit
Community Expert
Community Expert
May 28, 2024

You can*t use this in Adobe Acrobat.