3 Replies Latest reply on Apr 14, 2015 9:56 AM by youngwill4ever

    How does Password-protect PDF work?

    youngwill4ever

      In EchoSign API, one can set a password to open a PDF. I believe the syntax to use is securityOptions; set protectOpen = true and OpenPassword = xxxx. However, when I download the pdf, it didn't ask me for password. Could anyone in the know please chime in? Thanks!

       

      API Methods — Document eSignature Software — EchoSign

        • 1. Re: How does Password-protect PDF work?
          Rijul Raj Khurana Adobe Employee

          Hi Will,

           

          Just to confirm, once you download the PDF and click to open it, were you prompted to provide password or not? If no, then I would recommend to share the request code with our support team so that they can look into further.

           

          Let me know if you need more help!

           

          -Rijul

          • 2. Re: How does Password-protect PDF work?
            youngwill4ever Level 1

            Hi Rijul,

             

            Here is the security setting from my httprequest:

             

            <securityOptions xmlns="http://dto8.api.echosign">

             

            <externalPassword xmlns="http://dto.api.echosign" xsi:nil="true"/>

             

            <internalPassword xmlns="http://dto.api.echosign" xsi:nil="true"/>

            <openPassword xmlns="http://dto.api.echosign">2fpwxLdIfS</openPassword>

            </securityOptions>


            Here is my API call:


                        SecurityOptions securoptions = new SecurityOptions

                        {

                            protectOpen = true,

                            openPassword = _pdfKey

                        };

             

                        WidgetCreationInfo widgetcreationinfo = new WidgetCreationInfo

                        {

                            name = _formName,

                            fileInfos = new DonorPortal.Web.UI.com.echosign.secure.FileInfo[] { fileinfo },

                            signatureFlow = SignatureFlow.SENDER_SIGNATURE_NOT_REQUIRED,

                            securityOptions = securoptions,

                            widgetCompletionInfo = wCompletionInfo

                        };

             


            • 3. Re: How does Password-protect PDF work?
              youngwill4ever Level 1

              Hi Rijul,

              Just back from vacation. 

              Here is the security setting from my httprequest: <securityOptions xmlns="http://dto8.api.echosign"> <externalPassword xmlns="http://dto.api.echosign" xsi:nil="true"/> <internalPassword xmlns="http://dto.api.echosign" xsi:nil="true"/><openPassword xmlns="http://dto.api.echosign">2fpwxLdIfS</openPassword></securityOptions>

              Here is my API call:

                          SecurityOptions securoptions = new SecurityOptions            {                protectOpen = true,                openPassword = _pdfKey            };             WidgetCreationInfo widgetcreationinfo = new WidgetCreationInfo            {                name = formName,                fileInfos = new DonorPortal.Web.UI.com.echosign.secure.FileInfo[] { fileinfo },                signatureFlow = SignatureFlow.SENDERSIGNATURE_NOT_REQUIRED,                securityOptions = securoptions,                widgetCompletionInfo = wCompletionInfo            };