Free Support Forum - aspose.com

Support of PDF/A by PdfFileSecurity

Hi,

We are trying to protect PDF/A-1b file using Aspose.Pdf.Facades.PdfFileSecurity:
var privilege = Aspose.Pdf.Facades.DocumentPrivilege.ScreenReaders;
var fileSecurity = new Aspose.Pdf.Facades.PdfFileSecurity();
fileSecurity.BindPdf(inputFile);
fileSecurity.SetPrivilege(privilege);
fileSecurity.Save(outputFile);
fileSecurity.Close();
The input file ProtectDocument Vision v1 - PDFA-1b.pdf (49.5 KB) is PDF/A-1b compliant, however the output file ProtectDocument Vision v1 - PDFA-1b.pdf.pdf (49.6 KB) is not.

Whether the PdfFileSecurity supports the PDF/A formats or the described behavior is expected?

Best regards
Valeriy

@uaprogrammer

Thanks for contacting support.

We have tested the scenario in our environment while using Aspose.Pdf for .NET 17.9 and were able to notice that compliance was lost after applying the security to PDF document. Hence we have logged an issue as PDFNET-43368 in our issue tracking system. We will further investigate the issue and keep you updated with the status of its correction. Please be patient and spare us little time.

We are sorry for this inconvenience.

Hi,

Would you be so kind to provide us with status on the PDFNET-43368 issue?

Best regards,

Oleh

@uaprogrammer

We are afraid that earlier logged issue could not get resolved due to other high priority issues in the queue. We will surely inform you as soon as there are some certain updates regarding its resolution. Please spare us little time.

We are sorry for the inconvenience.