Posted on 2007-07-30
Last Modified: 2010-03-30
Java gurus out there. I need to write a Java class to bypass password protection for excel files. We can write a VB script but I need it in Java. We can also disable that feature but we want to automate this process.
Question by:SuperFly07
    LVL 23

    Expert Comment

    Hi Superfly07,

    By "bypass password protection" do you mean you want to automatically enter the (known) file password? If so then do you want Java or Javascript (sorry, can't tell which zone this is posted in since it looks like Excel to me).

    If you want to actually ignore password protection on a file, I'm pretty sure you won't be able to achieve that.


    Author Comment

    I have the password given by clients. I need to create a Java class with known passwords to automate this process.
    LVL 23

    Expert Comment

    Ahh apologies. A problem with the multiple topic area cross-posting - I know nothing of Java ;)

    Good luck,
    LVL 5

    Accepted Solution

    I looks like you can open these files using JexcelAPI. I'm assuming that these files are read/write password protected. If it was just write protected, you would have an easier job.

    Check out:


    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
    Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
    The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
    This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now