Hi Team, We have encrypted Editable PDF and our requirement is to fill that editable pdf by preserving the same encryption. Approach :
Step 1: - Read PDF File . - if encrypted remove encryption > - pDDocument.setAllSecurityToBeRemoved(true); > > - Fill the editable PDF using *PDAcroForm* - Save *filled editable PDF* - Step 2: - Read Filled editable PDF file. - *Want add encryption/permission same as original PDF * - *save filled editable PDF with original * *encryption/permission . * Can you please help out with this using Apache PDFBOX ? Thanks Damaji