Home » Questions » Computers [ Ask a new question ]

7-Zip doesn't ask me for a password for a ZIP file I encrypted while double-clicking it

7-Zip doesn't ask me for a password for a ZIP file I encrypted while double-clicking it

I just tried to encrypt a folder with 7-Zip by a command line, choosing a password, but when double-clicking on the ZIP file, it shows me the files list without asking any password.

Asked by: Guest | Views: 298
Total answers/comments: 4
Guest [Entry]

"The ZIP format doesn't allow for encrypting file lists. This means that file lists are viewable by anyone.

Only the contents of the files is encrypted, which means that no one can read the file without your password.

Due to this, 7-Zip only asks for your password before unzipping.

If you need a format that encrypts the file list, use 7Z and make sure you check ""Encrypt File Names"".

For the more technical minded, the ZIP specification doesn't allow for encryption of the Central Directory."
Guest [Entry]

"A generalized solution that works for all zip programs (WINzip, 7-Zip, MacZip, etc.) is to simply zip it twice making sure the second time (or both) have password protected encryption.

See: Filenames display without entering the password when an encrypted Zip file is opened"
Guest [Entry]

Double clicking will show you the files. Now try to extract one... as I recall, that is when you'll get the password prompt.
Guest [Entry]

"In case you're using Total Commander with the 7-Zip Plugin, press ALT + F5 (or Files -> Pack...) to compress files or folders, click Configure and check the box Encrypt File Headers and Names.

Other than that, Andrew Moore's answer is correct."