Unzip a File in Java with Subdirectories (Zip Slip Safe)
Unzip a file in Java with ZipFile or ZipInputStream, extract subdirectories, block zip slip and zip bombs, and read archives as a zip file system.
Unzip a file in Java with ZipFile or ZipInputStream, extract subdirectories, block zip slip and zip bombs, and read archives as a zip file system.
Create a password protected zip in Java with Zip4j 2.11 and AES-256, extract it with the password, handle a wrong password and pick AES over ZipCrypto.
HowToDoInJava provides tutorials and how-to guides on Java and related technologies.
It also shares the best practices, algorithms & solutions and frequently asked interview questions.