Adobe Reader Browser Plugin - How to disable right click print

Here is some background to my question
I'm using Adobe Reader 9.2 and have configured to use the Adobe Reader Active X browser plugin.
which has the effect of launching pdf's within the IE browser rather than launching the full client. This is all working fine
I have a requirement that I need to lockdown certain menu items (for the purpose of this example, lets say "SaveAs" and "Print") and toolbars which I have also done successfully using folder level javascripts. For example I have created a HideMenuItems.js file and placed this in the "C:\Program Files\Adobe\Reader 9.0\Reader\Javascripts", here is a snippet of the file which relate to hiding / removing the SaveAs and Print items
app.hideToolbarButton("Print"); 
app.hideToolbarButton("SaveFileAs");
app.hideToolbarButton("Save");
These work fine and hide the Print and Save toolbar buttons from the Adobe Reader Browser plugin menu.
As an aside If I wanted to hide the same icons from the full adobe reader client I could use app.hideMenuItem("Print");
So this all works fine and I'm happy so far. Now, with these settings in place I launch the pdf within the browser, although save and print buttons are now hidden and I cannot add them back, I can still RightClick anywhere in the pdf and get the context menu, from there I can select print.
What I'm after is a way to either
(i) Selectively remove menu items from the right click context menu, and therefore remove the print option e.g something like app.[hideRightClickMenuItem]("Print") would be great but I dont know what that method is called.
or
(ii) Disable the RightClick context menu altogether for Adobe Reader Browser Plugin
Not bothered what the solution is whether its a reg hack - HKCU / HKLM  / or javascript line I can add to my HideMenuItems.js, But basically I want to lock down the ability for the users to select print button from all sources including "CTRL + P",
Or if this is not possible let them hit CTRL P or right click print, but then not display the Adobe Print Dialog.
Basically the printing of the documents in handled by our web app sending a silent print to the adobe application which again works fine, I just need to prevent the users from being able to initiate a print from within the pdf when displaying the pdf in a browser.
Having searched around there is an API called AVAppRegisterForPageViewRightClicks which is supposed to prevent right clicks, But I dont know how to use this, or whether it can be used within my HideMenuItems.js file, tried many different syntaxes but to no avail.
Does anyone have any experience in this? Adobe - do you have any suggestions ?
Cheers
Will

Hi thanks for your response, yes it seems this API is availalbe but there are no examples of how to use it. You mentioned its available in Adobe reader and Adobe Acrobat plugins. Well I'm using the Adobe Reader Active X Browser Plugin so how would I use this API to restrict the Browser plugin.l
I am not a developer writing my own custom plugins, I simply want to use the out of the box adobe reader product, specifically the Active X browser plugin, but I need to be able to customise and restrict what the user is able to do.
The reason I need to do this is that we publish IE on a citrix server which users access to launch this highly secure web based application. The sensitive data that they view is in the forms of PDFs which are viewed by the Adobe reader browser plugin within the browser. The web application controls who can save, export, print etc, so I need to be able to lock down the Adobe Reader Active X browser plugin so that the user cannot initiate save, and print functionality from within the viewed pdf. I've done this successfully by restricting the menu and toolbar items but it is still possible to right click on the viewed pdf and click select print from the context menu. This would cause us a big security flaw, which would result in users that are only supposed to view being able to click print.
I published a desktop (locked down) and published IE (locked down) all successfully with GPOs so the users cannot do anything they are not supposed to do, however Adobe reader it seems cannot be easily locked down and this is a problem as I might have to start looking at viable alterantives. Surely a simple requirement as this could be acheieved with relative ease.
In an ideal world there would be an  available GPO template (.ADM file), which could be used to centrally manage these type of settings. I dont even mind writing an ADM myself, I've written many before, but for example what I need is the appropriate registry entries and how they are used to lock down / restrict certain functions so that I can write such an .ADM file.
I dont mind how I achieve this, I just need a way to do it. So if using the API AVAppRegisterForPageViewRightClicks would achieve this, can someone please tell me how I can implement something that would use this API to restrict the right Click Print options for example.
The sort of answer I;m looking for would be
Create a file, paste in this code, place the file is this location xxxxx, this is a per machine fix so will affect all users
or
Edit the regstry and make this HKCU change xxxxx - This is obviously a per user fix so use normal methods to get this into every users profile.
or
Open up the file in this location xxxxxx and add AVAppRegisterForPageViewRightClicks = AlwaysDisable (or whatever the syntax is)
Thanks for you help
Cheers
Will

Similar Messages

  • How to disable right click option re-size on table column header?

    Hi All,
    Please let us know how to disable right click option re-size on table column header.
    The issue is that when I right click on the column header, the column is selected and the context menu with options like Sort, Columns, Resize Columns, etc.. is popping. we want to disable column  re-size option.
    We are binding the table values programatically (not using Bc4J) and the Jdeveloper version is 11.1.2.2
    Thanks in advance,
    - Vignesh S.

    Hi Gawish,
    Thanks for the reply.
    This will make the particular column frozen and only work for that particular column.
    My use case is that to remove the resize columns option from the context menu or to disable the right click option.
    Making column selection as none will disable the right click option but we need column selection for sorting.
    Is there any other way to achieve this?
    Thanks in advance,
    -Vignesh S.

  • How to disable right click in a transaction?

    Hi,
         How to disable right click in transaction.
    i.e, While in CRMD_BUS2000111, in partners tab, when we right click, a pop up window appears. I don't want this to happen. I don t want the window to pop up.
    How can this be achieved witout changing any standard code?
    Regards,
    Varun

    Hi Amit,
    Tcode - CRMD_BUS2000111
    Regards,
    Varun

  • How to disable right click on SAP portal login page

    Hi,
    How to disable right click on SAP portal login page. Our requirement is one should not be able to right click -
    >view source. on the portal login page.
    Best Regars,
    Tushar

    Hi Tchanvan,
    If you search google with "javascript disable right click" you will get loads of javascript code. This will also help you to gain knowledge.
    @Explanation to last post : You need to import standard logon par file in NWDS. Create javascript file to disable right click and then include this file in your logon page. i think login page name is portalLogin.jsp and then deploy this new PAR file.
    regards,
    Jigar Oza

  • How to disable right click on your mouse

    hello people ,, cananyone please tell me how to disable
    rightmouse click on my website ,or on my site's photos please
    help

    PLease don't. Not only is it useless as you say, it's a waste
    of time, and
    compromises your website.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JoeyD1978" <[email protected]> wrote in
    message
    news:gd01lq$1s9$[email protected]..
    > Copy and paste this into the head of your document:
    >
    > <script language="JavaScript">
    > // <!-- var popup="Sorry, right-click
    > is disabled.\n\nThis Site Copyright ?2008"; function
    noway(go) { if
    > (document.all) { if (event.button == 2) { alert(popup);
    return false; } }
    > if
    > (document.layers)
    > { if (go.which == 3) { alert(popup); return false; } } }
    if
    > (document.layers)
    > { document.captureEvents(Event.MOUSEDOWN); }
    document.onmousedown=noway;
    > //
    > -->
    > </script>
    >
    > Keep in mind it's completely useless, and the moment you
    place your photos
    > on
    > the internet someone can acquire them with minimal
    effort. You'll also be
    > damaging the usability of the site by using the script,
    again while
    > gaining
    > absolutely nothing.
    >

  • How to disable right-click in Flex app /w actionscript?

    Anyone know of actionscript code within Flex for disabling
    right-click. I've got an app that I don't want my users to have
    access to the right-click menu.

    "EvolvedDSM" <[email protected]> wrote in
    message
    news:gadm7g$fi6$[email protected]..
    > Thanks hanchan, I did just want to disable the zoom
    options and whatnot.
    > After
    > watching a few users, who have never worked with a flex
    app before,
    > accidentally right click here and there and zoom in or
    zoom out, I was
    > banging
    > my head on the wall thinking "this could happen ALL THE
    TIME with these
    > people".
    >
    > Ahhh, Amy. You need to feel the love of "No Script", a
    FireFox browser
    > extension. It is truly the best tool on the net imo. NO
    MORE ADS. You
    > have
    > to allow non-domain site ads to appear on the page, else
    they never load
    > and
    > you don't have to deal with the ads. If you use FireFox,
    get it!! And if
    > you
    > don't use FireFox, try it!!
    But even then, the player itself isn't providing you with any
    security.

  • How to disable right-click and keyboard shortcuts in adobe reader?

    Hello All,
    We are currently working on an issue. We want to display a pdf to users but not allow them to save it. Though we are able to hide the menubar and toolbars, the Shortcuts F8, F9 and Ctrl+Shift+S is the undoing of all. The user can still use these shortcuts to enable toolbar and menubar. Can anyone suggest how to disable the right-click and keyboard shortcuts in adobe reader?
    Thanks in Advance

    Impossible, and illogical. PDF files are not streamed or RAM-cached so if someone is viewing a file they must have already saved it.

  • Adobe Reader Browser Plugin steuern / "abhorchen" ?

    Hallo,
    mich würde interessieren, ob es möglich ist, die Browser Plugins (Firefox, Internet Explorer...) des Adobe Readers per BROWSER Javascript zu steuern bzw. auf Events zu horchen. Ich will NICHT das PDF manipulieren (geht nicht, soweit ich weiß), sondern lediglich die Vorwärts/Rückwärts-Buttons betätigen bzw. deren Anklicken aufzeichnen.
    Vielen Dank im Voraus,
    Alina

    Hallo,
    mich würde interessieren, ob es möglich ist, die Browser Plugins (Firefox, Internet Explorer...) des Adobe Readers per BROWSER Javascript zu steuern bzw. auf Events zu horchen. Ich will NICHT das PDF manipulieren (geht nicht, soweit ich weiß), sondern lediglich die Vorwärts/Rückwärts-Buttons betätigen bzw. deren Anklicken aufzeichnen.
    Vielen Dank im Voraus,
    Alina

  • Help how to disable right click of touchpad

    I have been using my Lenovo X1 carbon for 4 months.  But the experience has been awful.
    I don't know if my tackpad is defective or not.  Currently I am in the Philippines and there is no way to check or service my unit since they don't carry this model here.
    My problem is when i tap the touch pad the right click button comes out 80% of the time.  This is really annoying.  I already disabled the right click to double finger tap.  But still even with one single tap on the middle of the touchpad the result is 80% of the time its like doing a right click.. Very annoying.
    Please help me.  If this is touchpad is defective can anyone let me know so I will have this serviced in Dec. in the US.

    [ahmed@the-rock ~]$ xinput list
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ SIGMACH1P U+P Mouse id=12 [slave pointer (2)]
    ⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Fujitsu FUJ02B1 id=7 [slave keyboard (3)]
    ↳ Fujitsu FUJ02E3 id=8 [slave keyboard (3)]
    ↳ Video Bus id=9 [slave keyboard (3)]
    ↳ Power Button id=10 [slave keyboard (3)]
    ↳ USB Webcam id=11 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard
    Last edited by remstereo (2011-01-27 18:42:20)

  • How to disable right click on a Matrix Cell??

    Hi,
    It is impossible to disable a number of cells in a matrix. So I use the BubbleEvent = False in application item event to disable certain cells. My code is :
    If pVal.FormUID = "MyForm" And pVal.BeforeAction = True And pVal.ItemUID = "MyMatrix" Then
         If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
              If pVal.Row <4 Then
                  BubbleEvent = False
              End If
         End If 
    End If
    It works great with left click. But the cell still can be selected  with a right click button. I've tried this code :
    If pVal.FormUID = "MyForm" And pVal.BeforeAction = True And pVal.ItemUID = "MyMatrix" Then
         If pVal.EventType = SAPbouiCOM.BoEventTypes.et_RIGHT_CLICK Then
              If pVal.Row <4 Then
                  BubbleEvent = False
              End If
         End If 
    End If
    and also this code in application rightclick event :
    Private Sub SBO_Application_RightClickEvent(ByRef eventInfo As SAPbouiCOM.ContextMenuInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.RightClickEvent
         If eventInfo.FormUID = "MyForm" And eventInfo.BeforeAction = True And eventInfo.ItemUID = "MyMatrix" Then
              If eventInfo.Row < 4 Then
                   BubbleEvent = False
              End If
         End If
    End Sub
    But it doesn't work... It just make the right click menu not appear, but I still can click and edit the cell with a right click...
    Is there a trick?
    Regards,
    Rinaldi Sugiono

    It is still the same.. 
    up to now, I use this trick :
    Private Sub SBO_Application_RightClickEvent(ByRef eventInfo As SAPbouiCOM.ContextMenuInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.RightClickEvent
            If eventInfo.FormUID = "MyForm" And eventInfo.BeforeAction = True And eventInfo.ItemUID = "MyMatrix" Then
                If SBO_Application.Forms.Item(eventInfo.FormUID).Items.Item("MyMatrix").Enabled = True And eventInfo.ItemUID = "MyMatrix" Then
                    If eventInfo.Row > 4 Then
                    Else
                        SBO_Application.Forms.Item("MyForm").Items.Item("MyMatrix").Specific.Columns.Item("MyColumn-1").Cells.Item(SBO_Application.Forms.Item("MyForm").Items.Item("MyMatrix").Specific.RowCount).Specific.String =_
                        SBO_Application.Forms.Item("MyForm").Items.Item("MyMatrix").Specific.Columns.Item("MyMatrix").Cells.Item(SBO_Application.Forms.Item("MyForm").Items.Item("MyMatrix").Specific.RowCount).Specific.String + ""
                        BubbleEvent = False
                    End If
                End If
            End If
    End Sub
    But it seems too ineffective... It runs slow, and results some "flicky cell"..
    Edited by: Rinaldi Sugiono on Sep 23, 2010 4:49 AM

  • Adobe reader browser plugin

    Hi.
    I'm using the adobe plugin to open some files in a asp.net web app but in certain computers, the new window that opens with the file can't be resized. Can anyone help me find what the problem is? thanks

    Hi.
    I'm using the adobe plugin to open some files in a asp.net web app but in certain computers, the new window that opens with the file can't be resized. Can anyone help me find what the problem is? thanks

  • Disable Right Click Pop-Up Menu on adobe reader activex control

    Hi,
    I am using adobe reader activex control on my vb.net window based application.May i know how can i disable right click pop-up menu on adobe reader activex control?I don't want search function from right click pop up menu.
    Please help me.
    Thanks and best regards,
    Ko Ko

    Hi,
    I would disable the right click.....
    perhaps you can call a javascript function to display a table of options on your jsp with a layer:
    function myOptions( )
    var fullText =      "<table width='278'>" +
         "<tr bgcolor='#FF9900'>" +
         "<td colspan='3'> <b><font color='#000000' face='MS Sans Serif' size='3'>Option1</font></b></td>" +
         "</tr>" +
    "<tr>" +
    "<tr bgcolor='#FF9900'>" +
         "<td colspan='3'> <b><font color='#000000' face='MS Sans Serif' size='3'>Option2</font></b></td>" +
         "</tr>" +
    "<tr>" +
         " <td height='35'></td>" +
         " <td colspan='2' height='35'>" +
         "     <div align='left'>" +
    " <br>" +
    "     <p><font color='#FF0000'>Select option's from above.</font></p>" +
    "</div>" +
         "</td>" +
              "</tr>" +
    "</table>";
    editLayer( fullText, lyr );
    showLayer( lyr );
    editLayer and showLayer will display table on JSP....remeber to call the layer "1yr"
    // Show the visible layer that is passed into the function
    function showLayer( _obj ){
    if ( ns() ){
         _obj.visibility = "show";
    } else {
         _obj.style.visibility = "visible";
    // Write the layer with the text in the parameters
    function editLayer( txt, obj ){
    var doc;
    if ( ns() ) {
         doc = self.document._obj.document;
         doc.write( _txt );
         doc.close();
    } else {
         doc = _obj;     
         doc.innerHTML = _txt;     
         doc.document.close();     

  • I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    Check your settings in Options > Applications: https://support.mozilla.com/en-US/kb/Opening%20PDF%20files%20within%20Firefox#w_check-firefox-settings
    Also see:
    *https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox
    *http://kb.mozillazine.org/File_types_and_download_actions
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]

  • Installation How-to for minimal/small footprint Adobe Reader & Firefox Plugin

    I need to install Adobe Reader & Firefox Plugin in a small Linux based environment.
    As a proof-of-concept, I downloaded and installed the AdbeRdr9.4.7-1_i486linux_enu.bin
    to an NFS share mounted to the Linux thinclient. That worked -- eg, the plugin was available
    to the browser so the OS will support that build. However, the client does not have much
    writable 'disk' space available and using any type of share (NFS/Samba) is not an option in
    the production environment.
    I need to use the plugin from within Firefox (6.0+) and have to be able to print via CUPS.
    DIsk space available is less than 50Mb, preferrably a lot less!
    Is there a guide available for a mimimal installation?
    Any sugguestions as to what files/directories I have to copy to the local filesystem for
    * an absolute minimum ?
    * a bit more if there's room?
    Suggestions / pointers appreciated..
    Tom

    First - what version of Adobe Reader do you have?
    And now it gets a little bit complicated.  Adobe Reader can be a plugin to Internet Explorer, and it crashes when you try to open an online PDF document.  That is not unknown; it happens sometimes.
    But when you open the standalone Adobe Reader, it also crashes with a plugin error.  This time it must be a plugin to Adobe Reader, not Internet Explorer.
    Furthermore you write "the same plugin error window pops up" - so I can only assume that it is a Reader plugin that crashes, not the IE plugin.
    What I would try in your situation:
    open Control Panel | Add/Remove Programs, and uninstall Adobe Reader;
    open Windows Explorer and navigate to C:\Program Files\Adobe\Reader 9.0\Reader and delete all plugin... folders;
    reinstall Adobe Reader from http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.3.3/enu/AdbeRdr933_en_US.exe
    The path in the second line above could also be ...\Reader 8.0\... depending on your Reader version.

  • Control Adobe Reader browser plug-in programmatically

    Is it possible to control the size of the
    Adobe Reader Browser plug-in programmitically?
    I would like to be able to:
    1) Reduce the size of the plugin, so that I can use the
      botton half of the browser to display other information.
    2) Change/Reload/Specify a different document to display.
    3) Programmitically zoom or chnage pages.
    I would like to do this with ASP.NET, if possible.
    I've seen thrid party ASP.NET controls that do this.
    I would prefer to use the Adobe plug-in.
    Thanks

    Try reinstalling Lion:
    Reinstalling Lion Without the Installer
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alterhatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Continue button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

Maybe you are looking for

  • ITunes won't launch, it has encountered an problem and needs to close.

    I am unable to access my itunes. Keep getting error message "itunes has encounteres a problem and needs to close." Anyone got any ideas? Pat Mahoney

  • OIM SSL cert with AD

    I have a OIM on a cluster with two nodes running on WLS. I have a VIP URL that I connect to OIM with. i am going to upload the OIM cert to AD for provisioning etc and get AD cert in OIM jdk keystore. What I need to know is what hostname shall I use i

  • How to infer the output of PDETextGetBBox

    Hello,      The description for the PDETextGetBBox function as given by the Adobe livedocs is as below. 1. I have a query on the 4th parameter of the below function which as given in description gives the bounding box of the text run/character. In th

  • Crazy time issues

    In March another user reported the following: I have a crazy problem. I CANNOT use the Apple server to set my time! It always defaults to GMT (no other choices!) If I set the time to Columbus, Ohio EST, the clock keeps the correct time but the clock

  • How to delete templates in Word?

    How do I delete my own templates in Word?