

Could a "templateDesigner" line (or some other line in the XML) be altered/added so LCD would essentially say, "Umm. But in the XML there are references to values of the form: So why not just kill it?Īgain, probably way off base here. Besides, there's no way to save info entered into the form anyway once LCD opens it. It's not like the original dynamic PDF template, with the untampered XML, isn't backed up.

I could be way off on this - still a major newbie compared to everyone else in here.ġ) Open a fully complete "original" PDF (with unaltered XML) in LCD.Ģ) Change/break the XML that LCD needs (but not Reader/Acrobat) to open the file to see the underlying arch/make edits/etc.ģ) Double check your work 8,000 times, save and close - and it's forever closed to LCD. Next time LCD tries to open it, it won't be able to because of the added/altered/deleted code in the XML. altered/deleted, more likely(?) - so that once the document is saved and closed by LCD, that's it. I'm wondering if a line(s) of the XML source code could be added - hmm. Radz rules.) But the javascript is written for Reader/Acrobat. (Technically, it "opens" but then it immediately closes itself again. Thanks to Radzmar, his code can be used to essentially disable the form in Reader/Acrobat if the LCD created password has been stripped. The goal is to prevent the dynamic form from being modified. Sometimes it's just good to bounce ideas, ya know? ("No password on this PDF.")Īny ideas? I know this is just a bump to someone who's taken the time to strip the password using 3party software but why not make it a little more confusing for them, right? ("There is a password of some type on this PDF") Documentation seems to indicate that securityHandler is in both Acrobat and LCD. So we have two different values we could use to establish whether or not a password is on the PDF.īut I think I'm getting caught up when trying to write the code to reference the securityHandler value. If no password is added in LCD to the form and then I open it with Acrobat, using Console window and typing: If I add a password in LCD to the form and then open it with Acrobat, I can use the Console window and type: I've had some success, I think (lol), with "securityHandler". The PDF is javascript heavy and only useable if javascript is active. I understand that if javascript is not enabled on the end-user side, the PDF will still be visible. (If someone strips the password, at least I can make it more annoying for them.) I'd like to use javascript to "hide" my Livecycle Designer form on open if a password for the pdf is NOT present.
