Copy link to clipboard
Copied
PDF has been protected for edit but has no password for open. Works fine with other platforms and other readers but the acrobat reader on android is prompting for a password to just open the file. Is there a way to fix the acrobat reader so it can open these files?
Copy link to clipboard
Copied
Hi Jonh,
If the document is protected to restrict editing, it should not ask the password while opening the PDF.
Make sure that there is no other restriction added to the document.
Would you mind sharing the steps you did to restrict the editing on PDF?
Also, share the screenshot of the screen you get when trying to open the document on the mobile application.
Please use the following steps in order to restrict editing on the PDF:
- Open the PDF in Adobe Acrobat desktop application.
- Go to Tools > Protect
- Select "Restrict Editing" and add the password.
- Then save the PDF.
Let us know if you need any help or have any question.
Regards,
Meenakshi
Copy link to clipboard
Copied
Document is being adjusted via spire.pdf to add the encryption allowing read only and print and full Quality Print.
The Adobe reader we tested was the latest version available via the google play store on a galaxy 8. I've since uninstalled the Adobe reader and was able to open just fine in the native PDF reader that comes with the Samsung phone.
Exact line of code to encrypt.
doc.Security.Encrypt("", $"SomeReallyFunkyPW{Guid.NewGuid()}1X1xk28fh", PdfPermissionsFlags.FullQualityPrint | PdfPermissionsFlags.Print, PdfEncryptionKeySize.Key256Bit);
The first parameter on the call sets the password for Open. An empty string as provided says do not prompt for a password on open.
I'd provide a screenshot but it's pretty pointless. Is and Adobe dialog prompting for a password. Document opens as designed in other readers and Adobe Acrobat on a Windows machine.
Since the simple solution for us is to use another product, our guidance to our consumers if they encounter this issue is to try using something other than the Adobe.