Write to forms in protected PDF

Posted by: kimseyb on 14 July 2021, 3:58 am EST

  • Posted 14 July 2021, 3:58 am EST

    Is it possible to write to forms that are password protected if I don’t know the password. Similar to how iTextSharp uses unethicalreading. I work for a county and we get 100’s of PDF’s from the state. We have written programs to automate writing to form fields inside of the PDF’s using iTextSharp, can I do that with GrapeCity Documents for PDF? The state doesn’t give us the user names and passwords for the forms.

    Thanks.

  • Posted 14 July 2021, 8:50 pm EST

    Hello,

    We are discussing this with the development team and will get back to you with the updates soon.

    [Internal Tracking Id: DOC-3410]

    Regards,

    Prabhat Sharma.

  • Posted 3 July 2023, 3:59 am EST

    I know this is an old thread, but I have the same question. Was there ever an update to this? Also, is there a property or method that indicates whether the file is password protected or not?

    Thanks.

  • Posted 3 July 2023, 4:27 pm EST

    Hello Jerrad,

    As per the latest updates from the developers’ end, this feature will be included in the next major release v6.2 which will be available by mid of Aug 2023.

    As of now, there is no such direct property to know if the pdf is password protected or not. In the v6.2 release, we are also introducing a feature where you can load password-protected files without knowing their password.

    Regards,

    Prabhat Sharma.

  • Posted 7 August 2023, 9:17 pm EST

    Hello,

    We are glad to inform you that new DecryptionOptions parameter has been added in the Load method of the API in the 6.2 release to achieve this functionality.

    Please upgrade to latest version to use this functionality.

    https://www.nuget.org/packages/GrapeCity.Documents.pdf/

    Please checkout the following doc link for the same:

    https://www.grapecity.com/documents-api-pdf/docs/online/Security.html?highlight=decryptionoptions%2C

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels