How to disable save Icon?

We have a legal requirement in our bank that in our intranet site whatever document we show it should have save icon disabled? [thought there are lot if ways we can capture the contents of it even with save icon disabled]
Is there any way of implementing the save icon disabled...I spent almost three hours with no result.... My coding will look like this
int permissions = ~(PdfWriter.AllowPrinting | PdfWriter.AllowCopy | PdfWriter.AllowModifyAnnotations | PdfWriter.AllowFillIn | PdfWriter.AllowAssembly | PdfWriter.AllowModifyContents | PdfWriter.AllowScreenReaders);
PdfEncryptor.encrypt(reader,fos,true,"","",permissions);

I have pasted my code below
We are creating a new pdf and applying permissions for that....
I searched for more than two hours and couldn't find a way to disable save icon in the API we use
com.lowagie.text.pdf.PdfEncryptor;
com.lowagie.text.pdf.PdfReader;
com.lowagie.text.pdf.PdfWriter; [you can paste this in google which will explain this API]
I thought this as a constraint with this API, hence searching for other API's which has this feature...in most of the forums I saw implementing this as not possible....hence thought of checking in Adobe forum where people might suggest some other API...Please let me know whether this feature [if it is really a programmable feature] is available in API's you have used...Thanks Aandi Inston!
byte[] documentBytes = document.getContentBytes(); //which will get the content of a pdf
File newFile = File.createTempFile("tempPdfFile", ".tmp");
FileOutputStream fos = new FileOutputStream(newFile);
reader = new PdfReader(documentBytes);
int permissions = ~(PdfWriter.AllowPrinting | PdfWriter.AllowCopy | PdfWriter.AllowModifyAnnotations | PdfWriter.AllowFillIn | PdfWriter.AllowAssembly | PdfWriter.AllowModifyContents | PdfWriter.AllowScreenReaders);
PdfEncryptor.encrypt(reader,fos,true,"","",permissions);

Similar Messages

  • How to disable save button on selection screen (1000) run from other report

    Hi Experts,
    Can any one let me know how to disable save button on selection screen (1000) run from other report.
    Say I am running from report R1 which submits report R2, but the save button should be disabled on
    report R2(selection screen 100).
    Thanks in advance.
    Regards
    RP.

    Hi RPReddy16 ,
    Try this:
    DATA :BEGIN OF t_extab occurs 0,
                     fcode like rsmpe-func,
                 END OF t_extab.
    REFRESH T_EXTAB.
    MOVE 'SAVE' TO T_EXTAB-FCODE.
    APPEND T_EXTAB.
    CLEAR T_EXTAB.
    SET PF-STATUS 'STATUS' EXCLUDING T_EXTAB.
    Regards,
    José

  • How to disable inbuilt icon on runtime

    Dear sir,
    I am new to forms 9i
    Please help me how to disable inbuilt icons which are shown on the menu bar on top
    like it has written on the top of icon
    action edit query like
    i want to disable this icons and not visibale
    thanks in advance
    regards
    s k swain

    This might be helpful,
    Re: FRM-10221 Cannot read file menudef

  • How to disable Save and SaveAs Button in Adobe Reader ??

    I am having Dynamic XML Form (XFA based) designed on LC Designer ES2
    I Want to disable Save and SaveAs button  whenever it would be opened in Adobe Reader only.
    Other way around, i want to provide only facility to save form programmatically through Javascript to apply validation.
    Plz help
    Thnx in advance..!!

    I can apply folder level java script ...But How to handle this way on CLIENT SIDE..???

  • HOW TO DISABLE "SAVE AS" IN THE MENU?

    Does any body knows how to disable the option SAVE AS from the file menu en discoverer 4.1.37?
    Thanks for your help!!

    You can use the UISelectitem#setItemDisabled method to set the item disabled status.

  • How to disable save option from adobe toolbar in Acrobat Reader

    We need to disable Save option from Acrobat Reader plugin in Internet Explorer 8/9/10 version.
    Acrobat version is X.
    Is it possible to disable Save ( Floppy Disk) icon?
    We have disabled printing and copying.
    Please help

    You are, I'm afraid, chasing an impossible security that cannot exist. Many have sought this, but it just isn't there -- and there is so much more than the save button involved.
    If you are a big enterprise with sensitive information consider DRM solutions ($$$$+).

  • How to disable Save & Print functionality in PDF form?

    Hi,
    This is the requrement, client need to disable Save & Print functionality in PDF form. (They not allow employee save & print the hrforms payslip)
    May I know how to do it. Thank you.
    What is the parameter value in structure SFPOUTPUTPARAMS  that I need to set in order to  disable Save & Print functionality ?
    call function 'FP_JOB_OPEN'
        changing
          ie_outputparams = SFPOUTPUTPARAMS
        exceptions
          others          = 1.

    Hi Nayan,
    I'm the person who did the WD as well, using IFrame to contain the PDF binary. WD site didn't contro the binary source.
    I pre-define the 'FP_JOB_OPEN' before calling the PDF generation.
    Optional: Set output parameters
      gs_outputparams-nodialog  = ''.
      gs_outputparams-preview   = ''.
      gs_outputparams-getpdf    = 'X'.
      gs_outputparams-nopreview = 'X'.
      gs_outputparams-noprint   = 'X'.
      gs_outputparams-noarchive = 'X'.
      gs_outputparams-nopributt = 'X'.
      gs_outputparams-arcmode = '1'.
      gs_outputparams-noarchive = 'X'.
    Open print job
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = gs_outputparams
        EXCEPTIONS
          OTHERS          = 1.
    Regards,
    Eric

  • How to Disable Save and Save a Copy functions in a PDF file

    I would like to know how to disable the Save and Save a Copy functions. I have a client that does not want the ability to save for there customers. I also need to make sure that it can not be changed by there customer. 
    Any suggestions would be greatly helpful.
    Thanks
    Andrew

    Once the PDF is viewed on a machine it is already saved there. That is why it is not possible. The only option is to not allow folks to have the PDF at all. You can disable the ability to copy information from the PDF or use SAVE as to put it in a different form without the security. Those are the security features that are available, but with the caveat that many 3rd party products ignore the PDF security and thus your efforts are not warrented if you want true security. The only way to get full security is through a fancy online (and costly) solution.

  • How can  disable 'delete_row' icon on configaration tab of tx code:SOLAR02?

    HI,
    Experts,
    How can we disable DELETE_ROW icon in configuration tab of
    tx : SOLAR02 if have tried a lot but couldn't succeeded please give me some inputs or clues or code to me.
    Thank u,
    Shabeer Ahmed.

    Hello,
    Jason.
    I want to disable delete icon in configuration tab of SOLAR02 transaction.
    Is it possible if so let me how to achieve that.
    Thank Q

  • How To Disable Save Button in a PDF

    I have Creating One Application in Oracle Forms 6 and Run in Web
    In that I have Showing a Pdf Fie using a WEB.SHOW_DCOUMENT.
    But I have to Disable a Save and print Button in Display pdf file in a IE.
    It’s Possible then help
    thx

    The best way to find out something about it is to type in www.google.com these key words: disable save adobe
    Then you can read more about it on this links:
    http://www.adobeforums.com/cgi-bin/webx/.3bb65a55
    http://www.adobeforums.com/cgi-bin/webx/.3bc076e4
    http://www.acrobatusers.com/forums/ask_an_expert/questions/view/1222/
    It's interesting question and very important but looks like unsolved...

  • How to disable save as option in forefox when we right click on the image?

    Hi Folks,
    Can somebody help to disable save as option when i right click on the image which is showing in the browser.

    Hi,
    '''sorry,it is impossible by code'''
    you can use addons.
    or
    you can disable while developing webpage using:
    <script language="javascript">
    document.onmousedown=disableclick;
    status="Right Click Disabled";
    Function disableclick(event)
    if(event.button==2)
    alert(status);
    return false;
    </script>
    Regards
    '''Deepak Krishnan'''

  • How can disable save and save as option in excel & word

    we want to share a excel and word file across the network.
    So want to disable save & save as option from file menu.
    Any comment is highly appreciate.
    Regards
    Arvind
    Arvind

    Hi,
    Search the control ids of FileSave & FileSaveas commands in Office programs from the following files:
    http://www.microsoft.com/en-us/download/details.aspx?id=3582
    Then disable the commands in Group Policy with the Ids.
    For example, the Policy IDs for FileSave & FileSaveas in Excel 2007 is 3 and 748.
    In Group Policy, you will need to set:
    Administrative Templates > Microsoft Office Excel 2007 > Disable Items in User Interface > Custom > Disable commands > Enabled > click Show... button > type 3 in Value and 748 in the next row.
    Best regards,
    Rex Zhang
    TechNet Community Support

  • How to Disable Save Button in interactive form via sfp

    Dear,experts
    My requirement is that Disable Save Button in interactive form via sfp .Is there any options to do this or write Javascript/Formcalc.Please help!
    Thanks
    Vince.

    I found a adobe documentation that says that If you want to disable some toolbar buttons, you will have to use application-level Javascript. Looks like it is not possible from ADLC
    Place the following Javascript code inside a .js file in
    %ProgramFiles%\Adobe\Reader 9.0\Reader\JavaScripts   to disable the toolbar buttons:
    // [File - Create Adobe PDF Using Acrobat.com], plus toolbar button
    app.hideMenuItem("WebServices:CreatePDF");
    app.hideToolbarButton("Weblink:CreatePDF");
    // [File - Collaborate], plus toolbar button
    app.hideMenuItem("Annots:FileCollaboration");
    app.hideToolbarButton("Annots:CollabToolButton");
    app.hideToolbarButton("CommentTask");
    app.hideToolbarButton("SigTaskButton");
    app.hideToolbarButton("SaveFileAs");
    app.hideToolbarButton("Save");
    Regards
    Sandy

  • How to disable save and close ribbons

    Hi
    I want to disable Save and Close ribbons that user only use the Submit button.
    what am i do?

    hi,
    there are 2 ways
    1. to hide it using JavaScript 
    Add a Content Editor Web Part on the page, and add the following script in the web part:
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function(){
    document.getElementById("Ribbon.ListForm.Edit.Commit.Publish-Large").style.display="none";
    });</script>
    2. 
    you can use the below link to customize the ribbon elemnets
    http://www.sharepointnutsandbolts.com/2010/01/customizing-ribbon-part-1-creating-tabs.html
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • How to disable "Save" and "Print" icons?

    Hello,
    I need to publish a pdf file in our company's site.
    According to my boss requirement, the file should be "read only".
    I just can't to disable those "save" and "print" icons.
    How can I make the read-only file?
    Thank you in advance,
    Marina Levy

    You can set up the document's security to not allow printing and making changes to the document, but you cannot prevent someone from saving a copy if you make it available for them to view. With digital rights management software, such as Adobe's LiveCycle Rights Management, you cna have much more control over what people can do with a document.

Maybe you are looking for

  • My new 160gb ipod classic missing compilation uncheck option in settings

    Help just bought a 160GB classic,(i previously had a 60GB classic)my old ipod had an option to uncheck/check compilation in settings>compilations (just under the EQ option) my new ipod does not have this option although the manual and help forums see

  • Outgoing Payment Remarks

    Good Evening! I want to have a formatted search in the remarks of the outgoing payment to be the Invoice Document Number + the remarks of the invoice being paid (both if outgoing payment is charged to customer and vendor) Example Outgoing payment is

  • FIND/CHANGE - Applying Paragraph Style

    Hello, I used FIND/CHANGE to apply my paragraph style and when I apply the paragraph style... it applies the style to the entire line. For example, A. #70712       resulted to         A. #70712 I only wanted the "#70712" to be changed to my style. I

  • Which Mac Mini will do the job?

    Hello I currently connect my 2.5 Ghz Core 2 Duo 17" MacBook Pro to my Panasonic 37" Plasma ( 1080i ) via HDMI and everything works perfectly. I use mounted server volumes over a wireless network to allow access to my movies through Front Row.No probl

  • EHP1 on SolutionManager

    Hi,    In my  solman server patch level is sp14,now i want to apply ehp1 on solution manager,how to install ehp1 on solution manager,what are the prerequistes for to install EHP1,iam new to this concept,guide me for the same. Thanku