Protect javascript inside the PDF from de-compilation

Hi Guys,
I have developed an fillable PDF using acrobat, which will publish to public. some of the input field needed to be validated using some javascript.
When I google the de-complilation pdf, I found that some free de-compilation pdf tool and easily de-compile the pdf and my javascript can be found inside the result.
because these javascript is sensitive that I don't want it to be exposed to public, is there anything I can do to hide the javascript?

The Reader Extension hash won't stop someone from extracting content; it can potentially make it a little harder but if you can open a file in a non-Adobe application you can always extract content, no matter what the settings are.
DRM is the only reliable method of file-level security as it ensures only Adobe Reader or Acrobat can be used to open it. However when a secured file is running you still have access to the console, so determined snooping remains possible.

Similar Messages

  • JavaScript in the PDF can hide toolbar buttons

    Hi Leonard,
    You mentioned in http://forums.adobe.com/message/2161074#2161074 that "JavaScript in the PDF can hide toolbar buttons."
    According to the Javascript docs for Acrobat 7 the App.HideToolbarButton function only runs at AppInit.  Which means that I would have to have the javascript in a file.  How can I do that from within the document?  Is there another way to to do set this from our web application?
    Rob

    Perhaps that's simply a feature that isn't supported by presenting a Captivate intended for the web from inside a PDF?
    Just guessing... Rick

  • How do I put all the songs from a compilation album into the same /album/folder in Itunes v12

    How do I put all the songs from a compilation album into the same /album/folder in Itunes v12 i know in other versions it was via get info but as all of the tunes have the same album title , I am not sure what tio change to achieve this ?

    I don't see your screenshot but I assume you're starting with something like this, i.e., the compilation split into multiple albums:
    If you select all the items that you want to be in a single album, right-click > Get Info you'll see this:
    As you say, in iTunes 12 you don't see a field to enter a distinct Album Artist value.  You can, however, address this by clicking the Add Field button and selecting Album Artist:
    That makes the field available in the metadata dialog so that you can enter the required value:
    You can also show the pre-iTunes 12 version of the dialog by holding the SHIFT key when selecting Get Info - this allows you to enter the Album Artist directly:

  • I have a Word doc with lots of Excel/Pdf attached doc inside. Can I convert this word doc in PDF keeping the attached documents inside the PDF? or do I have to attach all af them again? thank in advance

    I have a Word doc with lots of Excel/Pdf attached doc inside. Can I convert this word doc in PDF keeping the attached documents inside the PDF? or do I have to attach all af them again? thank in advance

    Attach all of them again.
    Be well...

  • Export the pdf from indesign some error Pop Up window (Failed to Export the PDF file). How slove the

    Export the pdf from indesign some error Pop Up window (Failed to Export the PDF file). How slove the problem
    Please some one help on this

    You need to try exporting the first half of the book.
    If that exports ok then export the other half of the book.
    Whatever half it fails on - keep dividing the book in half to find the culprit page or pages.
    For example if your book is 128 pages long:
    1. Export pages 1 - 63
    2. If these Fail to Export then
    3. try exporting1-32
    4. If these Fail to Export
    5. then try exporting1-16
    If it doesn't fail (step 2)
    Then export pages 64-128
    and 64-90 etc.
    until you find the pages causing the issues.

  • Formguide and javascript inside a pdf

    Hello,
    I´m trying FormGuide. I realize that the behavior of the script inside an event in a pdf/template is different when the pdf is opened directly in acrobat reader or when is opened using a formguide (preview pdf).
    For instance, if I have 2 javascript alerts on the change event of a field, only the first one will be shown when the value of that field is changed in formguide.
    Another example: if at the same event I have a javascript replace funcion, when I change the field in the guideform, the event is fire as expected, but I will get an xfaxm error message...
    I thought formguide would only make a mapping between the field in the flash screen with the field on the form, but that everything else would run inside the form. However, it seems formguide is "capturing" the events and script and is running them...
    If this is true, how can I define something like a replace function?Also, How can I use floating fields in a pdf, that will be changed as some field in formguide changes?
    Thank you

    You have a number of issues that you have brought up here. This are difficult without looking at exactly what you aer doing and what script you are running. Can you post your form to [email protected]?
    I will try and answer your questions:
    The replace() is supported in Form Guides
    All script will run in the Form Guide unless you call into the PDF directly (liek when you click the buttons to email, or print)
    Floating fields are resolved at runtime and are turned into Text. They are not inetractive.
    If you are trying to get script to execute in only your guide you can use:
    if ( xfa.host.name == Flash ) {
    script to execute.
    And of course you can do the not (!=) to only execute in Reader/Acrobat.

  • Copy protection for either the pdf slideshow or web flash

    From what I can tell so far there is'nt any way to secure the pdf security
    from within lightroom nor enable some kind of security in web flash that wont allow printing of images. Does anyone know if there is a way to secure these so my images are'nt stolen off of the web from my galleries?
    Thanks in advance

    I also would like to know what good adding security (against printing) to a pdf would do?
    As previously said, if you can view the images you can "steal" them or print them.
    There are apps that you can download to remove the protection on pdf's.
    (I even know of a way using "Save as" in one of the apps that come installed on the Mac's ;-)
    The best you can do is to watermark your images and be restrictive with the viewing size.
    Or to password protect the whole web gallery against viewing and only give out passwords to trusted people.

  • How can I change the file version for scanned PDFs to 1.4 when using the "PDF from Scanner" feature from Acrobat XI? By default it's always saved as 1.5.

    Because our IT system can only handle PDFs with versions up to 1.4, we need to "PDF from scanner" feature to store the scanned PDFs in version 1.4.
    Acrobat 9 always saved it in 1.4, but starting with Acrobat X, the PDFs are saved in 1.5.
    There must be a setting or configuration somewhere where I can change this.
    I already tried modifying the distiller's standard joboptions, but that did not work.
    Thanks for any help

    We use in our software an open-source pdf library that only supports pdf versions up to 1.4. I know it is old, but it's not that simple to exchange it.
    But I just had a look into the Actions as you suggested. This way I get it to work. It costs one additional click, so that's acceptable.
    Thanks for the support.

  • Programmat​icly name the PDF from report generator

    Hi,
    I'm currently developing an application that contains report generation.
    Using report generation pallet I was able to make PDFs but the problem is that a dialog box appears asking me to give a name to the PDF.
    Since the application will be running all the year generating weekly reports I need to make automatis naming for the PDFs because I don't have all the Time operator to name the file.
    Thanks in advance
    Tareq Al-Arja

    I'm assuming that the method you are using to create PDF reports is to "print" them to a PDF writer. In this case, it is an issue that resides outside of LabVIEW. LabVIEW simply sends the document to the PDF "printer" and it is actually the PDF Writer that is querying you for the name. Since most printers don't require you to name files that you print, LabVIEW does not provide any way of sending this information programmatically.
    If automation of those PDF names is imperative, you might be able to build PDF documents through ActiveX with Adobe and programmatically provide PDF names that way, but from my experience, Adobe does a pretty poor job of documenting their ActiveX functions. However, it may be something worth exploring if the issue is important to you.
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • Move pages inside the PDF file

    I am trying to relocate several pages inside the same PDF file. Some TIPs say I can do it by moving Page Thumbnails. However there is no Page Thumbnails pane on the left side of the document. There is no PAGE button either. There are 3 icon buttons on the left side, bookmark, signatures, and help. I am using Acrobat professional 8.0. Please help me find out the solution.
    Thanks.

    You have to open the thumbnail pane, "View => Naviagaiton tabs => Pages".

  • The PDFs from email I need to open then with iBook thebeginning was Ok now the Ebola programs no more show in the open with list

    I Need to open PDFs from the mail with iBook or any E book program

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10-15 seconds).
    No data will be lost.

  • How to show the pdf from the iPad in the new iBooks on the Mac Book Pro?

    I have several books in PDF format on my iPad 4 but for some reason they persistently REFUSE to appear in the iBooks on my Mac book Pro (haven't checked the iPhones). The new iBooks brags that we can ontinue reading our books where we left from one device to the other, and since most of my interesting books are in PDF, how can I access this feature? What if I create a book with a iBook creator, will it show?
    Thank you very much for your answers...

    I figured it out (for me anyway) for syncing via USB or WiFi.
    My PDFs in iBooks Mac weren't showing up in iBooks iOS & this is how I fixed it - it's syncing seamlessly now
    I went to iTunes for Mac
    Clicked on my device e.g. iPad
    Clicked on 'Books' from along the menu that says 'Summary - Apps - Tones' etc.
    Ticked the 'Sync Books' checkbox
    Selected the 'All books' button, making sure that under the menu ('Books') I had selected 'Books and PDF files'
    And then pressed the sync button at the bottom right of iTunes. It worked.
    It's a 'set it and forget it solution' - after doing this I no longer need to interact with iTunes for syncing PDFs & books. Even when I rename collections on iBooks Mac, it transfers seamlessly across to iBooks on my iPad/iPhone via Wi-Fi.
    Hope that helps - it certainly wasn't obvious to me.
    Best,
    Haider

  • Can we set a variable used inside the template from the java code.

    Hi everybody,
    I am uploading template,sub template and data xml fle to generate the preview using XDO API's. My main template is calling a sub template so it needs to import the sub template in the main template.since i am uploading my files on a particular server,my subtemplates has been put on different path as specified in the main template.
    so i need to change the subtemplate path dynamically at run time.
    is there any way i can pass this information to my main template at run time.
    one solution could be,my rtf template has a variable 'i' inside it,which is setting the file path to include my subtemplate like this :
    <?xdoxslt:set_variable($_XDOCTX, i ,"import:file:///c:/Temp/htmlmarkup.xsl")?>
    <?xdoxslt:get_variable($_XDOCTX, i )?>
    now is there any way i can set this variable at run time from my external java code.?
    Thanks,
    Anuradha

    Thanks for the response.
    but i still am looking for the solution.
    if both my template and subtemplate are in the same directory then atleast
    <?import:file:../htmlmarkup.xsl?> should work.
    but its not working...i m getting following error:
    FOProcessor setData: C:\subtemplates\projects.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:514)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:869)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:204)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1535)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:925)
         at RTF2PDF.runRTFto(RTF2PDF.java:590)
         at RTF2PDF.runXDO(RTF2PDF.java:443)
         at RTF2PDF.main(RTF2PDF.java:237)
    Caused by: java.io.FileNotFoundException: C:\Documents and Settings\fusion\htmlmarkup.xsl (The system cannot find the file specified)
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:782)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:564)
         ... 15 more
    please suggest me what to do..

  • Stellent  UCM :: calling javascript inside the custom component

    Hi Experts,
    I am new to the stellent content server (Oracle content server). Currently we are working on the project which needs to be integrated with the content server for the content selection. I did some prototype to pass back the selection value to the parent window using the javascript window.opener.<parent java script> from a dummy page. Now i am customizing the content server custom component. Unfortunately i cannot be able to call back the parent javascript from the custom component. Seems the window.opener is null.
    I have tried with windowUtils.getOpener() method which is available in the content server weblayout. Still i could not be able to call back.
    Guys i am looking forward your idea ? If anyone knows the way to resolve this issue or any other best suitable way to handle this please ping me back.
    Regards Thiva

    Hi Experts,
    I am new to the stellent content server (Oracle content server). Currently we are working on the project which needs to be integrated with the content server for the content selection. I did some prototype to pass back the selection value to the parent window using the javascript window.opener.<parent java script> from a dummy page. Now i am customizing the content server custom component. Unfortunately i cannot be able to call back the parent javascript from the custom component. Seems the window.opener is null.
    I have tried with windowUtils.getOpener() method which is available in the content server weblayout. Still i could not be able to call back.
    Guys i am looking forward your idea ? If anyone knows the way to resolve this issue or any other best suitable way to handle this please ping me back.
    Regards Thiva

  • Not getting all the artist from a compilation to "artists" in my iPod

    I have some compilation cds and when i import them they all (individually) get listed in artist, i ctrl marked the songs and changed it to "various artists" Is it some way of tagging the song so the "real" artist comes up when i play the song?
    should i add it to every song name or is it any easier way?

    When you changed the Artist field to *Various Artists*, you deleted the real artist name so there's othing to show up except Various Artists.
    You should have put *Various Artists* in the *Album Artist* field and left the original artist in the Artist field.

Maybe you are looking for

  • Clear the content of Checkbox without looping for every record

    Hi all, I am Karthik. I am working in Oracle EBS. I am developing one form in which it contain 2 checkbox. if checkbox1 is selected in 1st record it need to check checkbox2 all the record till the end of the block. when i uncheck it need to do revers

  • How to add Multiple XML Tags for a single column for an RDF

    Hi Gurus, I have Requirement in the Oracle D2k Report from which we are generating the xml tags. My Requirement is in a table i have 2 columns say A and B. i am able to generate three xml tags separately using the report builder by clicking on the co

  • Error app 606 reset.

    my torch suddenly got white blank screen with message said "error app 606 reset" unfortunatelly I can find out what is my software version and the platform is because the black screen on it..  The pc which I have instal Desktop is crash ( out of serv

  • Concurrent manager failed

    Dear All, When applying adconfig on application tier ,this error displayed ERROR: Context Value Management Failed. Terminate. and can't continue my application is 11i on Windows BR, Tarek

  • How to access tunes in icloud

    some tunes are showing stored in i cloud; how do you access them so they can play on computer?