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

Free Support Forum - aspose.com

Disable PDF read only property


Is there a way to uncheck the read only checkbox for a pdf file. If the read only checkbox is checked, PDFFileInfo object is not able to read the file and throws an access denied error.


Rajeev Mathur

Hi Rajeev Mathur,

Thanks for contacting support.

I have tested the scenario while loading Read-only file using Aspose.Pdf for Java 10.8.0 and have observed that the API is generating an exception when trying to read the file contents. For the sake of correction, I have logged this problem
as PDFNEWJAVA-35302 in our issue tracking system. We will
further look into the details of this problem and will keep you updated on the
status of correction. Please be patient and spare us little time. We are sorry
for this inconvenience.

The issues you have found earlier (filed as PDFNEWJAVA-35302) have been fixed in Aspose.Pdf for Java 11.2.0.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.