Excel sheet - password protection

Hi,
we have a requirement that we want to set 'read' password on excel sheet through java program. Any body who wants to see the content should provide password to open the excel file.
We looked at open sources such as JExcel, POI. Looks like, they are not providing 'read' passpord protection feature. JExcel supports write password but does not support 'read' password.
Did anybody face this kinda requirement? any suggestions? Is there any other solution ?
thanks in advacne,
Sridhar Vempali

hi,
Refer to these related threads
Password protection for excel file - not urgent
download file thru excel with password
Password Protection to the Excel File that was down loaded
Re: OLE2 Excel File Save as password protected

Similar Messages

  • Excel Sheet (password protected) is not opening

    An important Excel document that is password protected keeps causing Excel to shut down after I enter the password. I tried opening with NEO OFFICE but since it's password protected, NEO won't open it. How do I turn off the password in Excel so NEO can open it? I assume thew file has become corrupt.

    since Office is not an Apple product. You'll get better response if you use a forum dedicated to Microsoft's Mac products such as <http://groups-beta.google.com/group/microsoft.public.mac.office> rather than an Apple forum that focuses on Mac/Windows compatibility.
    Be sure to search the forum first in case someone has already had a similar question answered. You'll get your answer faster this way. Post your question in the forum if you don't find anything that helps you.

  • Excel download Password Protected

    Hi Guru's,
    I need to Download an Excel with Password Protected. User should be in a position to read the data without entering the password. If he wants to change the data then the file should prompt for a password.  Currently I am using the below mentioned code but the file is asking for password even to view the data.
    Code :
    create object e_appl 'EXCEL.APPLICATION'.
      set property of e_appl 'VISIBLE' = 0.
    * Open the file
      call method of e_appl 'WORKBOOKS' = e_wbooklist.
      get property of e_wbooklist 'Application' = e_appl .
      set property of e_appl 'SheetsInNewWorkbook' = 1 .
      call method of e_wbooklist 'Add' = e_work .
      get property of e_appl 'ActiveSheet' = e_sheet .
      set property of e_sheet 'Name' = 'Test' .
      field_value  = sy-index.
        shift field_value left deleting leading space.
    clear field_value.
    *1.Action
        concatenate 'Action' field_value into field_value separated by space.
    * Position to specific cell  in  Column 1
        call method of e_appl 'Cells' = e_cell
               exporting
    *                #1 = sy-index
                    #2 = 1.
    * Set the value
        set property of e_cell 'Value' = field_value.
    ** Close the file
      get property of e_appl 'ActiveWorkbook' = e_work.
       call method of e_work 'SAVEAS'
            exporting
                #1 = p_file
                #2 = 1        
                #3 = 'password'
                #4 = 'password'.
      call method of e_work 'close'.
    * Quit the file
      call method of  e_appl  'QUIT'.
    * Free them up
      free object e_cell.
      free object e_sheet.
      free object e_work.
      free object e_wbooklist.
      free object e_appl.
    <removed by moderator>
    Regards,
    Krishnaes.
    Edited by: krishnaes on Sep 13, 2011 6:56 AM
    Edited by: Thomas Zloch on Sep 13, 2011 8:42 PM

    Hi Pranav,
    I commented the code as you suggested, but still its not working. It asks for the password to just read the file.
    Please help me on this.
    get property of e_appl 'ActiveWorkbook' = e_work.
       call method of e_work 'SAVEAS'
            exporting
                #1 = p_file
                #2 = 1
               #3 = 'password'.     "Password is for opening
                #4 = 'password'.       "Password is for changing the contents
      call method of e_work 'close'.
    Quit the file
      call method of  e_appl  'QUIT'.
    Free them up
      free object e_cell.
      free object e_sheet.
      free object e_work.
      free object e_wbooklist.
      free object e_appl.
    Thanks & Regards,
    Krishna Kishore.

  • Excel datasheet Password Protection not opening in Sharepoint 2010 default browser

    Password protection Excel datasheet not opening in SharePoint 2010 library with Use the server default
    (Open in the browser) I get a SharePoint  Error ‘an unexpected error has occurred ’
    If I change in advanced setting to Open in the client application it works fine
    What do I need to do In order to have the file open in the default browser?

    Excel Services/Excel Web App does not support password protected Excel sheets. Your only option is to open in Excel client.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to create PDF from Excel with Password Protection Using Visual Studio & Visual Basic

    Could someone provide some VB code sample(s) to create a PDF file with password protection (Security Method - Password Security - Restrict Editing & Printing)?
    I create a bunch of reports every week using an Excel 2010 addin that subsequently must be printed to PDF.  I then have to manually edit the properties of each document in order to apply the printing restriction.
    I'm using Acrobat X.
    I've downloaded the SDK but have no idea which dll's to use or where to begin.
    Thanks!
    Ross

    That's surprising & disappointing.  I would have thought that this capability would have long since been requested.
    Thanks for the heads up.

  • Convert Excel into Password Protected PDF Files

    Hello Aandi/Lenoard,
    I believe you are the Adobe Forums administrators so I thought you guys are the right people to approach.
    OTHERS ARE ALSO INVITED TO COMMENT ON THIS TOPIC.
    I have C# desktop app which generates Excel files and our goal is to convert these excel files one at a time into password protected PDF files. We use a 3rd party software currently, but I am challenging myself into saying that I can use Adobe Acrobat 9.0 SDK to achieve what is required .
    I have downloaded Acrobat 9.0 SDK and also have Adobe Professional 8.0(trail) in my development machine. Can you firstly tell me if this is possible and secondly what would be required on the client machines to run it?
    THanks,
    Andy

    "Encrypt with Password" is the policy name, not the policy id.
    Did you try enumerating the policy object to see how to set it up? I ran this from the console to get the policy details:
    var policy = security.chooseSecurityPolicy();
    for ( var i in policy )
    console.println(i + ": " + eval("policy." + i));
    That will pop up your list of policies. Choose "Encrypt with Password" and hit Apply, which returned the following:
    policyId: SP_STD_default
    name: Encrypt with Password
    description: This policy will allow you to set an open or modify password on a document.
    handler: Adobe.Standard
    target: document
    Of course, all you really need are the policyId, handler and target. Make sure you read and thoroughly understand the security requirements documented in the API reference for this method as well.

  • Password Protected Excel Sheet

    Hi all,
    Please specify how to save Password Protected Excel Sheet using SAP.
    Thanks and Regards,
    Surya.

    Please, just check this forum reply:
    Make excel sheet password protected through ABAP codeu0085
    Check FM:MS_excel_download_*
    Arjun..
    Pl. reward points

  • Share Excel File that is password protected

    Hello all
    I have published a workbook in our shared area at work. It's massive and also has another workbook linked to it.
    Both are password protected so are only available for viewing. But tons of people need to see them particularly the source file which is no problem because they can't change anything so can choose 'read only'.
    However the problem is when I need to go in there to make a couple of alteration, I have to wait until they close it or of course as is typical, they will leave their desk and forget to close it!!
    I haven't used the sharing workbook option although I've tried it and shown one of our departments to use it basically.
    I was wondering if this would be possible on a file that is password protected and is locked on every sheet.
    That way I can just go in when I need to even if someone's in there.
    This is an extremely important file that
    can not go wrong.  (I do have a backup)
    What are your views on this option and what is the best way to go about it?
    Thanks

    Hi,
    Would you like to tell me which Excel version are you using? According to your description, I recommend we try the two methods:
    Method 1:
    Excel has a feature "Protected the sheet", we can assign the different password to each sheet.
    For more detail information, please refer to the following link:
    http://office.microsoft.com/en-gb/excel-help/password-protect-worksheet-or-workbook-elements-HP010078580.aspx
    Method 2:
    Share the Excel workbook, and assign the edit range/permission to users. We can allow specific users to edit ranges in Excel. Here is the steps:
    Click 'Review', 'Allow Users to Edit Ranges','New'. In 'Title', enter the name. In 'Refers to cells', enter an equal sign (=) and enter the reference. In 'Range password', enter password. Click 'Permissions'. Click 'Add'. Enter the name. Click 'Protect Sheet',
    enter password. Click 'OK'.
    https://askdrexel.drexel.edu/app/answers/detail/a_id/2498/~/how-to%3A-allow-specific-users-to-edit-ranges-in-excel-2007.
    http://office.microsoft.com/en-us/excel-help/use-a-shared-workbook-to-collaborate-HP010096833.aspx
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Password protection compatibility and using from our website

    I have a spreadsheet that was created in Excel 2013 with each sheet password protected, and there are two problems with opening it in Excel 2003, on a computer that has the Microsoft compatibility add-on fileformatconverters.exe that allows it to open files
    created with later versions.
    1) When I open the spreadsheet in Excel 2003, I can unprotect it without entering the password. Is there a way to require the password in 2003, same as when someone opens it in Excel 2013?
    2) I posted a link to the spreadsheet on our website. If I try to open it from the website with Excel 2003, it thinks it is a zip file. I can save it to my desktop by changing the file extension to xlsx, but is there a way to make it so that outside
    users can simply click on the file and it recognizes the file type?
    Thanks in advance to anyone who can help with these two issues.

    It's actually very easy to password protect a non-iWeb site on MobileMe.
    But you need iWeb first.
    Go to MobileMe and make a copy if your current index.html file.
    Start iWeb.
    Create a Site.
    Select password protect in the setup and publish to MobileMe
    Visit your site and make sure it displays the login window.
    Do not login otherwise you cannot verify it in the next steps.
    Go to MobileMe again and open the folder with the Sitename.
    Delete everything you see.
    Publish your RW pages to that folder.
    Delete the index.html file in the root and rename your copy index.html again.
    Now visit your protected Site.
    Enter the details.
    Your RW site will show.
    Go back to iWeb.
    Change the publish settings to folder. No need to select one.
    You can now safely deelte the Site if you want.
    Or keep the site and make a note on the page to remember the password in the future.
    Practice.

  • Protect The Cells in the Excel Sheet Even After giving the password.

    Hi All,
    I need to protect the cells in the report even after unprotecting the sheet after giving password.
    That is, i have used some excel formulas in some cells, these cells are to be protected.
    In Reports using EVDRE all the cells are getting, "Locked" option selected in the Protection tab by default. Even if we change that Option and refresh the sheet Locked is getting selected again.
    So once we Protect the sheet using password all cells are getting locked. But once we remove password all cells are free to enter.
    I want the user of the Sheet to use only certain columns in the Sheet. and all the other columns should not be user editable.
    Please help me out in solving this issue.
    Thanks in Advance,
    Regards,
    G.Vijaya Kumar

    Hi Vijaya,
    I tested in my test environment and even after refresh , the range cells are still editable, they didnt get locked. I did the following:
    1. Selected the range or column in Excel, then Tools - Protection - Allow users to edit range. I selected the range and gave the password.
    2. Next I protected the complete sheet.
    3. Now entire sheet is protected. Now again I selected the range in which I want to edit, first time it will ask for password which you gave for the range. So I gave and I was able to edit the cells.
    4. I selected other cells and was not able to edit it so they are still locked.
    5. I tried to refresh the report , and then I selected the range cells to edit and still I was able to edit it. Those cells didnt get locked.
    So did you do the same things?
    Thanks.

  • Open password protected Excel Sheet?

    Hi there,
    numbers seems not to support password protection- is there any workaround or maybe third party helper app for that aim?
    it's not about protecting a numbers document but opening an excel sheet.
    thanks for help:
    macke

    Hello
    This question was already asked and responded but it seems that newbees don't respect the Terms of use which claims:
    +to help you resolve issues, ask questions, get tips and advice, and more.+
    +If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages.+
    +How do I post a question? ‚+
    +_If you searched the forums and didn't find an answer to your question or issue_, click the Post New Topic link at the top of a relevant forum page to post your own question.+
    In fact, the response is pure logic: you must unprotect the document from Excel
    You may also download the trial version of icExcel which if I remember well proves that the protection scheme is useless.
    http://www.panergy-software.com/products/icexcel/index.html
    CAUTION: it seems that it is not compatible with Leopard.
    Yvan KOENIG (from FRANCE lundi 28 avril 2008 16:04:25)

  • How to write to a password protected excel sheet using ActiveX?

    Hi all,
    I would like to write to a protected Excel sheet. I protect the sheet just in case the data is not wrongly programmatically saved to other cells. These cells contained formulas.
    Please help.
    Thanks,
    keng

    Hi Randy,
    Thank you for looking into my problem.
    I have looked into the Workbook.open property node. There is "password" on the property node. Please see attached diagrams.
    Is is the right way to do it?
    Please advise further.
    For your information, the Excel workbook and sheet 1 are password protected.
    Thanks,
    keng
    Attachments:
    Password_Excel.jpg ‏37 KB
    Password_Sheet.jpg ‏23 KB

  • How to get the password of a password protected Excel Sheet using java/jxl

    Hi ,
    how to get the password of a password protected Excel Sheet using java / jxl program.
    plz any one help me .
    Ramesh P
    [email protected]

    If they've implemented the password system correctly there probably isn't a way of getting the password at all.

  • Password protected Excel sheet on the application server (dataset)

    How can I create password protected excelsheet on the application server? Is it possible through DATASET?
    How can I modify below statement to create xls password protected?
    OPEN DATASET dest FOR OUTPUT IN BINARY MODE.
    Regards
    K

    could you ask moderator (via abuse button) to move it to the ABAP forum?
    Edited by: Sandra Rossi on Nov 23, 2009 1:13 PM

  • Need to protect Excel sheet

    Hi All,
    I am using Labview 7.0 and have successfully transported my data in to excel file. Further my requirement is to protect the excel sheet cell. I found many examples and codes for protecting sheet but my question is Can i make the excel sheet's cell write protected?? If yes than how ??
     Also i came to know through those examples that using invoke node for Activex controls and selecting class as Excel._ worksheet, where i can set the method as Protect. To this invoke node i need to connect reference but don't know how to create reference for the new excel report??
    If any one has idea abt that, then please.... guid me through vi's or snapshots.
    Thanks & Regards,
    Ratna

    Hi vt92,
    Thanks for ur reply, i woluld suggest u to have a look at excel report.png image as this may clear my requirement. In that vi i have transffered my data into excel sheet (area marked with red colour box) after that i m bringing that worksheet to front n then saving the report. Now my requirement is to make that worksheet password protected before saving it.
    Actually, I have gone through my discussion forums n found that to make worksheet password protected, need to use invoke node with class as Activex Excel._Worksheet n in that select method as protect but my confusion is wat input shuld i gave to that invoke node??? 
    Regards,
    Ratna
    Attachments:
    excel report.PNG ‏70 KB

Maybe you are looking for

  • Frustration with multiple answers on when I'll get  my pre-ordered iPhone 4s

    I ordered the 4s on 10/7 and received my confirmation email at 6:18 CST. Did not receive it on 10/14 as stated in the email. Have talked to three customer service reps last night and this morning with different answers. The first said that my order w

  • Urgency: how to add additional fields to XML and tranfer to MDMcatalog

    Dear experts:   I have realized the standar process for contract  to mdm.   when contract is released, the MDM catalog be updated automatically. but I still  have two requirement. 1.  In standar process,  the product category  and short description 

  • DR4-A won't read DVD-R, +R, -RW, +RW

    The drive only reads original DVDs, it burns just fine i used nero 6.3.0.2 to burn a DVD and it just worked fine the disc reads on other devices please help. my system it's 1.2 GHz duron Gigabyte 7DXE 256 DDR Ram 80 GB HD Toshiba SD1202 DVD ROM also

  • Mailbox Limits

    Hello , Environment : Exch 2010 sp3 ru3 Need to extract report of mailbox sizes, their limits,database default true or false. I am trying Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimited |Get-MailboxStatistics | Select-Object Displ

  • J2ee1.3 beta for NT is not able to start.

    I installed the j2ee1.3 on Windows NT 4.0, and set the enviroment (J2EE_HOME, JAVA_HOME and path), the command "j2ee -verbose" failed to start the server: it displayed some thing wrong with the main class). I Your help will be appreciated. Please not