Previous | Next | (P-PDF) Developers
Topic: Re: Pdf encryption Javascript strings
Conf: (P-PDF) Developers, Msg: 100772
From: Roman60
Date: 11/18/2003 01:44 AM
>The problem is:
>When I set the default encryption to these Javascript strings ("/
>JS" in pdf), then the Acrobat-program ignores it.
That is NOT due to the use of encryption, BUT instead that
Acrobat 6 no longer runs JavaScripts in a document that is encrypted
BUT without "form filling" rights enabled.
Leonard
Hello Leonard,
thanks for your answer.
I tried out, but that's not the reason :-(
When I have an encrypted document without Javascripts, everything is fine. When I encrypt one with Javascript, then Adobe Reader 6 ignores it and Acrobat 5 crashes.
In my decrypter function I can decrypt every string. When I create a Pdf with Adobe Acrobat, then I can decrypt every string in the whole document (I know the owner PW) but not the Javascript Part. Every test I do, it seems the Javascript Part has done with an different encryption code.
Is there any Specification about this in the web? In the Adobe Pdf Spec I didn't find anything about it.
Thanks everyone for help.
Roman