We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Password Protection does not work for PDF

Hi. Is there any update on this issue as a client is reporting similar issues with password protected pdfs being accessible without the password on a phone but requiring the password via a PC.


Could you please share some more detail about your issue along with following details?

  • Your input PDF.
  • Please create a simple application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

Thanks - I’ve found a separate thread which says to set the owner password - I will test this out in our code. As in the code in this thread we had blank owner password.
Issue : PDF encrypted with password using Aspose.pdf does not prompt for password in iOS - Aspose.PDF Product Family - Free Support Forum - aspose.com


We suggest you please read following article to achieve your requirements.
Set Privileges, Encrypt and Decrypt PDF