Password protected Excel file generation using Java

Hi,
I want to create password protected excel file using Java. So when you manually open this file it should prompt for password.
There are APIs but they are licensed and are for trial period. I want solution which is free.
I need this solution urgently..
:-)

Swati.S wrote:
Hi Administrator,
Moderator. Administrators post with the Sun logo.
I'm sorry I wasnt aware that we cannot have off forum communication. Can you please communicate how I can spread this message taht solution for this is available.If you like, you can post the code here or on [SDN Share|http://sdnshare.sun.com/]. Apart from that, there's no shortage of blog sites.

Similar Messages

  • Recovery a password protect excel file.

    I have a password protected excel file and now it's corrupted and i can't open it. I tried to open_and_repair feature of excel2010 and different other stuffs, without success. I was wondering if there's a way to remove the password without opening the excel
    files (i know the password). In this way maybe it'll be easier to repair the file. Is there a way to do this? What other things i could try?

    Hi,
    There are several methods to recover Data in Corrupted Excel Files.
    We can use the following methods to troubleshoot problems with opening or using Excel
    files:
    Use a recovered copy of the document.
    Use the
    Open and Repair command.
    Save the file in HTML format.
    Save the file in XML Spreadsheet format.
    If a chart is linked to the corrupted file, use a macro to extract the data.
    For more information, please refer to the following link:
    http://support.microsoft.com/kb/820741
    http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010342840.aspx?CTT=1#BMothermethods
    Jaynet Zhang
    TechNet Community Support
    A new Office has arrived, try it now.
    A beautiful Start. It begins here. Windows 8 and Windows RT.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • HT3345 How do I open a password protected excel file created on a PC?  I get a message that the "file is encrypted and can't be opened"

    How do I open a password protected excel file created on a PC in numbers 09, on a MacBook Air?  I get a message that the "file is encrypted and can't be opened"

    This is actually not true; I support users who are doing this w/ Excel 2011 (v14.2.2+) for Mac and Windows users w/ Excel 2003 & 2007.  Win users are from finance dept, and who have pasword-protected various budget files.  The Mac users are (surprise) "creative" users, who enter pw to unlock and edit these budget files.
    These files are shared from a Mac server (running 10.6.8 server), and I do have an erratic problem where all users have read-only access to these pw-protected Excel files.  The manual work-around has been to copy the troublesome file(s) and confirm users have full access again.  I also do a shuffling of filenames, so that the new, working file has original file name.
    FYI: the Mac server POSIX and ACL permissions are correct, and don't appear to be source of the problem.
    It's easy an SMB file-locking issue or concurrent users trying to edit these files.  I keep reminding them that Excel is not a database!

  • Before I buy "numbers" can anyuser tell me if I'll able 2 open password protected excel files in 4S?

    Before I buy "numbers" can anyuser advise me from their experiences if I'll be able to open password protected excel files in iphone 4S?

    I haven't tried opening any password-protected Office files in Numbers or Pages on my iOS device, but I doubt that it can be done. Neither Numbers or Pages for the Mac can open them so it is extremely unlikely.

  • Create a password protected excel file

    Hi everyone,
    I need to create a password-protect excel sheet using plsql.
    Please if some one could help me with this ??
    Regards,
    Riddhisha Khamesra

    there is no way directly from PL/SQL to make ExcelStarting with Office 2007, Excel's default file format uses the Open XML standard (ie basically a zip archive of XML and other media files).
    You can generate such files with pure PL/SQL, but adding password security is another story...
    - Using a protection at the workbook level requires the creation of an encrypted archive.
    - Using a protection at the worksheet level is easier because the password itself is embedded (in an encrypted form) into the sheet definition.
    Prior to Office 2007, there's the "XML Spreadsheet 2003" format. It opens the way to easy XML generation but it's limited (in particular, no password support, no macro etc.).
    Edited by: odie_63 on 2 mai 2011 15:57

  • Password-protected Excel file

    I am trying to create a connection to a password-protected Excel 2003 file.
    When I go to Create New Connection/Access/Excel(DAO)/make New Connection - I enter the filename path, choose Excel 8.0 from drop-down, and click the box for Secure Logon, and I enter the database password in the first box that un-greys and then leave the other 3 blank.
    I get the following error message : "Logon Failed. Details DAO Error Code: 0xc59 Source: DAO Workspace Description: Could not decrypt file"
    Any help appreciated.
    Thanks.

    You can use the Excel 8.0 Native Driver for Excel 97-2003 (.xls file extension) or use ODBC driver as well but the the only thing is you need to open the Excel workbook before connecting to Crystal Reports.
    Thanks,
    James

  • [URGENT] Is Password protected excel file allowed in SharePoint 2013?

    Hi Everyone,
    My boss wanted me to upload some sensitive files into the SharePoint. So I want to use the basic password encryption in Excel Option to create passwords for each one.
    Due to the unclear rules of SharePoint, it has broken down for several times. So this time, I want to ask professionals first - Can I upload password protected spreadsheets into SharePoint?
    Would Sharepoint allow that?
    Thanks for your ideas!

    Yes, I can confirm the protected Excel file, whatever the Workbook protect or Worksheet protect, would be allowed by SharePoint site and upload without problem.
    Thanks.
    Tony Chen
    TechNet Community Support

  • Regarding Excel file generation from java

    Hi all,
    I want export my JTable information to an excel when a specified action is occured.
    I already completed this task using some third party api.
    Some body told me, there is api in j2sdk itself for export data to excel file. but i didnt find that.
    Could anybody help me out , if sun java api is providing any api for dealing excel files.

    hi
    i've found this:
    http://jexcelapi.sourceforge.net/
    but i had trouble trying to make it works!
    pratically my textpad, we�hen i import the package, tell me tha the package doesn't exists!
    bye! ;)

  • Password protected excel files in Sharepoint 2013

    We have an issue with excel sheets. After editing and saving, the tags on the document disappear.
    Basically one of my members uploaded the document. On first upload, she input the tags on it, and when she opened and editted and saved it, the tags disappear and also an error message came at the top.
    Please note that there is a macro and a password on the document.
    Please help !
    Regards,
    prajK

    Hi Prajk,
    I tried to reproduce the issue per the steps below, let me know if there is misunderstanding:
    Create an Excel file with Password.
    Upload the Excel file.
    Select the file and add tags.
    Click the Excel file, it says with Password enabled, I can only open it with Excel client application. So I open it with Excel, edit it and save again.
    Select the file and click Tags and Notes, the tag is there.
    I wonder if the issue can be reproduced on other Excel documents by her account. If you add a tag to the document item, does the issue still occur?
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Extracting a Password Protected zip file

    Can anybody help me to extract a password protected zip file? Using java code or any third party API...??

    Can anybody help me to extract a password protected zip file?You'll need the password ;)
    Using java code nope
    any third party API...?? Yup.

  • How to read a passward protected excel file with the help of database connectivity tool kit

    hi, i was reading an excel file with the help of database connectivity tool kit in labview 8.0
    i made tabels in the excel file nand made odbc connection and specified the workbbok name.
    now my problem is how to read the same file if i specife a pasword to that excel file ?

    Hi,
    Check out this thread about opening a password-protected Excel file using ActiveX. This should take care of it for you!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Send email with password protected zip file attachment

    Hi Experts,
    The requirement is to zip a password protected excel file and send the zipfile through email. There is no middleware(PI) involved. The program has to be run in background mode. It is possible to create a password protected excel file using OLE method, but it will not work in background mode.
    Also it is possible to place the zip file in application server, but I am not able to give password for this file.
    Any help would be greatly appreciated.
    Regards,
    Renjith Nair

    Hi,
    You have to write a customer adapter module to handle this requirement.
    Zip/Unzip can be done using the payloadzipbean standard module:
    http://help.sap.com/saphelp_nw04/helpdata/en/45/da9358a1772e97e10000000a155369/content.htm
    /people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
    Is encoding an option instead of password for you:
    /people/farooq.farooqui3/blog/2008/09/24/sap-xipi-encode-outgoing-payload-using-adapter-module

  • 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.

  • 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.

  • Printing a password protected PDF file using acroread from Unix?

    We installed v8.1.3 acroread on the server but we are unable to print a password protected PDF file from command line in Unix? <br /><br />cat  <passprotected>.PDF | /usr/bin/acroread -toPostScript | lp -dprinter<br /><br />we get the following error<br /><br />"lp: Error - stdin is empty, so no job has been sent."<br /><br />Please advice <br /><br />Thank you in advance.<br />MSUDHAN.

    Hello,<br /><br />If the pdf file has a doc open password or if printing is disallowed you will not be able to print it using the commandline.<br /><br />Any other pdf can be printed using the same command :<br />cat a.pdf | acroread -toPostScript | lp -d <printer><br /><br />Regards,<br /> Rishi

Maybe you are looking for

  • Installing 9i db for windows 2000me

    After downloading Oracle 9i personal edition and installing, I received an error configuing the Database Configuration Assistant, I hit the retry several times with no luck. A message stated that the components was not need to complete the installati

  • Connect to .mac error

    Hi All. New user here. I am getting a can't connect to .mac error from Aperture after just now importing my photos to try and get working with it. I have checked the Preferences section and it appears that it is using my new mobileme account (I had a

  • Removal of Trovi from macbook pro

    When installing Microsoft Essentials, I have unfortunately ended up with Trovi which comes up on both Chrome and Safari. How do I delete please? I run 10.9.5 on my macbook pro.

  • How do I de-install Mail to re-install it clean

    I need to re-install clean my mail program 2.0.5 that i beleive has been damage by moving folder... but I don't know how to de-install the existing mail program... thanks a lot hubert

  • How to change BB desktop manager language ?

    I downloaded BB desktop manager many times. Each time I download only ARABIC language is being installed. I tried downloading the ENGLISH version also. But STILL I have the same trouble. I read your post regarding this but I couldn't get any right so