How do i clear the producer and creator metadata values? Here is my code, the console shows no output for these once removed, however when i use a metadata finder online they still appear.
We would like to share with you that you cannot change/remove/update the producer or creator value in PDF file information as Aspose.PDF for XXX would be shown against them. However, in case you need any other information, please feel free to let us know.
As per our company policy, we are afraid that we cannot offer such functionality to change the creator or producer name against PDF properties. The limitation is already mentioned in the API documentation.
It is a piety that the company policy is to compromise the security of people using your libraries.
We will seek other means of producing PDF’s without leaking this information.
We are looking into this matter and trying to work out some strategies in this regard. We will get back to you on this matter soon. Please spare us some time.
Any news on this? We are having the same issue reported by a penetration test. This company policy of Aspose is not state of the art regarding modern security thinking (hiding vendor/tool information to reduce attacking vectors)!
KR, Stefan
After save the document, Producer and Creator should be set to custom values.
If Producer and Creator are not set, then these values should be set to Aspose.PDF for .NET and Aspose, Ltd.
that’s indeed great news! Many enterprise customers will be happy about that!
As we are using Aspose for Java, is it fixed there as well? And in which version exactly? (In the release notes of 22.10 it’s not yet mentioned.)
And one more question: Is there a way when converting a Word document (or any other supported format) to PDF to set that information in the PdfSaveOptions (as the document instance would be a Word document, not yet a PDF).
Or does it mean that after conversion we have to instantiate the PDF document to change these values, then save it (which will be resource and time consuming)?
The feature was implemented in 21.2 version of .NET API and it should be present in the equivalent version of Java API.
Furthermore, we are afraid that you cannot set the properties for Word files or any other files as Aspose.PDF is specialized to deal with only PDF files and manipulate its properties. However, you can change these properties after obtaining the output PDF as you already mentioned. You can also post question about other file formats like DOC/DOCX in respective API forum like Aspose.Words.