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

Similar Messages

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

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

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

  • Creating/Extracting password protected zip files in AIR

    Hello,
    Does any one have any idea about creating/extracting password protected zip files in AIR. I am aware of FZip but it does not has the feature to password protect.
    Any help would be appreciated.
    Thank you
    VinSat

    Here's some you could try. The first two links are to zip utilities for OS X. I can't tell you if they'll do what you need, I just looked for zip programs that work in OS X.
    The third link is for the free Stuffit Expander. The last link is the results for "zip" at VersionTracker. You'll just have to try a bunch of them to find one that hopefully works.
    http://mac.softpedia.com/get/Utilities/MacZi.shtml
    http://www.maczipit.com/download.html
    http://my.smithmicro.com/mac/stuffit/expander.html
    http://www.versiontracker.com/php/qs.php?mode=basic&action=search&str=zip&srchAr ea=macosx&submit=Go

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

  • Library that will let one create a password protected zip file

    Hello All, In my last post, I was not clear, in the explanation of my requirement so that could be a reason for no replies
    I wanted to know whether there are any Java libraries that I can use to create a password protected zip file which will be recognized by WINZIP
    Will hope to hear back .
    Thanks again

    Thanks for the mail and information. So, from my
    understanding, there are no Java libraries thatare
    free that will let you create a password protected
    zip file that WINZIP recognises.
    Please let me know.
    ThanksThere might be free Java APIs that could do that. I
    just stated that I have not come across any. You can
    google and see if you can find any free APIs.
    The other way to do it is to write your own code for
    password protecting the zip files created by
    java.util.zip. A more time consuming solution but a
    solution nonetheless. But with this solution you
    would run into the problem of compatibility with
    winzip.
    Another solution would be to see if you can dig out
    some command based zip utility (I am not sure if
    there is one available for Windows but gzip comes to
    mind on Unix based systems) and use Runtime.exce()
    from your java source code to execute that command.
    I am not aware of any other solution. Hope this helps.thanks again for the reply.
    Can you throw more light on this statement
    "Another solution would be to see if you can dig out some command based zip utility (I am not sure if there is one available for Windows but gzip comes to mind on Unix based systems) and use Runtime.exce() from your java source code to execute that command."
    regarding the command based zip utility, does this provide a password protected zip file, so that winzip will understand and encode it?.
    Please let me know.
    Thanks

  • How do i create a password protected PDF file?

    Hello,
    I am working with VB6.0 and I have a requirenment to create a password protected pdf file in vb6.0.
    I have successfully created a PDF file but how do i make it password protected?
    Thank,
    Krunal

    Hi lrosenth,
    Thanks for the reply.
    Is there any other way that i can create password protected PDF in VB6.0?
    Thanks,
    Kkakadiya

  • Can we create a password protected .folio file.

    Hi,
    Is it possible to create a password protected .folio file, that could be read after password authentication from the Content Viewer iPad app.

    You currently cannot password protect the folio directly, however if you have DPS Enterprise Edition, you can use restricted distribution: http://www.adobe.com/devnet/digitalpublishingsuite/articles/restricted-distribution-with-d igital-publishing-suite.html

  • 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

  • How create encrypted/password-protected zip file?

    Any idea if there's a way with the Java API to create an encrypted and password-protected ZIP file? I know how to create a zip file with Java, but I need encryption and password protection.

    Thanks for the link, but that's not a solution. It's 3 years old (and still not resolved) and I'm looking for a Java solution.

  • 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

  • Can we create a Password Protected Zip file

    Hi,
    Can we set a password to a zip file using java code.
    This zip file may be extracted / opened using any third party utility such as Winzip, 7Zip etc
    Thanks In advance
    Regards

    Java can create zip files but cannot do password protection. You need to use some native java library or JNI calls. Refer to [http://forums.sun.com/thread.jspa?threadID=619940] or [http://code.google.com/p/winzipaes/]

  • 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

Maybe you are looking for