I have a PDF file secured with the Security password method (open password: no, permission password: yes). I can open the file (without entering the password) in any browser (Firefox, Chrome) and any PDF program (Adobe, Foxit).
Then I add a barcode to the file and save it. From that moment on, I can’t open the PDF file in Chrome and Foxit (because it asks for a password), but in Firefox and Adobe I can still open it without a password along with the barcode. In Adobe, the new file still displays the Security password method (open password: no, permission password: yes).
If possible, could you please share your sample source and output PDF document for our reference? We will test the scenario in our environment and address it accordingly.
Unfortunately, the source file contains sensitive customer data and I cannot share it publicly. By the way, I noticed another interesting thing. I wanted to prepare a custom PDF file for you with only the owner password set using the command:
The issue can be related to specific PDF document. That is why we requested if you could please share the problematic file with us so that we can observe it in our environment and address it accordingly.
We tested with 24.12 version of the API by adding sample image instead of barcode and saved the document. The output PDF document was able to be opened in Chrome without asking for the password. Please find the attached file. output.pdf (70.4 KB)
Can you please try using the latest version and let us know in case you face this issue still.
Its nice to know that the latest version resolved the issue at your end. Please keep using the API and feel free to post a new topic in case you face any other issues or need any kind of assistance.
1 Like
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.