8 Replies Latest reply on May 22, 2013 7:36 AM by gkaiseril

    Set Password security in PDF programmatically using VB.NET and Javascript

    jenni_aji

      Hi,

       

      I am using Visual Studio 2010 and Acrobat Professional 11.

       

      My requirements:

       

      1. Set password to a group of PDF files - default password, same for all files.

      2. Merge these PDF files

      3. Set password to the merged file.

       

      I tried to implement this with Javascript encryptUsingPolicy. I have the below queries:

       

      1. If I set password to group of files, exception is thrown while merging.

      2. Is there any method to remove the password policy that is set using encryptUsingPolicy.

      3. Each time password is set Acrobat window is popping up. Is there any way to hide this window. Even if bUI parameter, by default is False, window is displayed.

      4. I am using a Policy here. Let me know if there is any other method to set password.

       

      I am using Acrobat SDK only and not interested in using APIs or PDF libraries like iTextSharp...

       

      Please advice.

       

      Thanks.