Back to all posts
Security

Why Might Your Coworker Suggest Encrypting an Archive File Before Emailing It?

8 min read
By Konfidant

You're about to send the quarterly payroll export to your external accountant. Three spreadsheets and a PDF, dragged into a new email. Your coworker looks over and says: "Zip that with a password first. Then call her with the password."

It sounds like extra work for something that's going to a trusted person anyway. It isn't, and the reason is worth understanding, because it also explains where the advice stops working.

The short answer

Your coworker wants to protect the confidentiality of the files. Encrypting the archive turns everything inside into unreadable data that only someone with the password can open. If the email goes to the wrong person, sits in a mailbox that gets broken into later, or is read somewhere along the way, the files inside stay locked.

There's a smaller practical reason as well. An archive bundles several files into one attachment and compresses them, which helps with mail size limits. But compression doesn't need a password. The password is entirely about who gets to read the contents.

What an encrypted archive protects against

Email is reliable, but it's not private by design. An encrypted archive covers four situations that come up more often than people expect.

The email goes to the wrong person. Autocomplete offers two contacts with the same first name, someone hits reply all, an old thread gets forwarded to a new supplier. With a plain attachment, the stranger has your files the moment you press send. With an encrypted archive, they have a locked box and no key, as long as the password went somewhere else.

A mailbox is compromised months later. When an attacker gets into an email account, searching it for words like "payroll", "contract" or "passport" is one of the first things they do. An encrypted archive still shows up in that search, but it doesn't open.

The mail isn't encrypted in transit. Most email travels between servers over TLS today, but it's usually opportunistic: if one side doesn't support it, the message can go in plain text without anyone noticing. Once delivered, it's stored in a form the mail provider can read. We go into this in why email is the wrong place for confidential documents. An encrypted archive stays encrypted whatever the mail servers do.

Your company's rules ask for it. Many security policies require personal or confidential data sent outside the company to be encrypted. Under the GDPR, Article 32 names encryption as one example of an appropriate security measure. It's a risk-based rule, not a strict "always encrypt" requirement, but encrypting what you send by email is an easy way to show you took it seriously. There's more on that in our post on secure file sharing for business.

So your coworker is right. The trouble is that a password-protected ZIP done the usual way protects a lot less than it seems to.

Where it falls short

The password often travels the same way

The most common mistake is sending the password in a second email a minute later, or in the same message ("password is the company name and the year"). Anyone who can read one email can read the other. The archive only helps if the password goes by a different route: a phone call, a text message, a chat to a different account.

Old ZIP encryption is weak

The ZIP format has two kinds of encryption. The original one, usually called ZipCrypto, dates from the early 1990s and has been broken since 1994, when Eli Biham and Paul Kocher published a known-plaintext attack against it. Free tools exist today that recover the keys in many cases if the attacker can guess a small piece of one file inside, which predictable file headers often make possible.

ZipCrypto is still the default in plenty of places, including zip -e on macOS and Linux and the "ZipCrypto" option some Windows tools pre-select for compatibility. The modern alternative is AES-256, which is strong. Whether you get one or the other usually depends on a dropdown nobody looks at.

The file names are visible

In a standard ZIP file, even one encrypted with AES-256, the list of files inside isn't encrypted. Anyone can see that the archive contains salaries_all_staff_2026.xlsx and passport_scan_jmiller.pdf without knowing the password. Sometimes the names alone say more than they should. The 7z format can encrypt file names too; ZIP generally can't.

Weak passwords can be guessed offline

Whoever has the archive can try passwords as fast as their hardware allows, with no lockout and no one watching. "Summer2026!" or the client's name won't last long. A long passphrase of four or more random words, used for this archive only, will.

Mail filters may block it

A security filter can't look inside an encrypted archive, so it can't tell whether it holds a spreadsheet or malware. Attackers know this and send password-protected ZIPs precisely to get past scanning. As a result, many organisations quarantine or strip encrypted archives by default, and yours may never reach the accountant's inbox. We cover the receiving side of this in what makes email attachments a significant security risk.

It's still a permanent copy

The encrypted archive sits in your sent folder, the recipient's inbox, both companies' backups and any mail archive, for years. Today it's locked. If the password ever leaks later, because it was reused, written in a ticket or guessed, every one of those old copies opens at once.

What an encrypted archive protects and what it doesn't: the file contents are locked, but file names in a ZIP stay visible, a weak password can be guessed offline, the password often travels in the same inbox, and copies stay in every mailbox for years

How to encrypt an archive properly

If an encrypted archive is the right tool for the job, these steps close most of the gaps above.

On Windows. The built-in "Compress to ZIP file" option in File Explorer has no way to set a password. Use 7-Zip, which is free:

  1. Select the files, right-click, and choose 7-Zip, then "Add to archive".
  2. Set the archive format to 7z.
  3. Enter a password, check that the encryption method is AES-256, and tick Encrypt file names.

If the recipient can't open 7z files, choose ZIP instead and make sure the encryption method says AES-256, not ZipCrypto. The file names will be visible in that case, so rename anything revealing before you compress.

On a Mac. Finder's "Compress" option also has no password setting, and zip -e in Terminal uses the weak ZipCrypto method. A free app such as Keka can create AES-256 encrypted 7z or ZIP archives. If you're comfortable in Terminal, 7-Zip works there as well:

# -p asks for a password, -mhe=on also encrypts the file names
7z a -p -mhe=on payroll-q3.7z payroll/

The official macOS build of 7-Zip names the command 7zz instead of 7z.

Choose the password well. Four or more random words, or at least 16 random characters from a password manager. A new one for every archive.

Send the password another way. Call, text, or use a one time secret link that works once. Never in the same email, a reply in the same thread, or a second email to the same address.

Warn the recipient. A short heads-up ("an encrypted 7z file is coming from me, I'll call you with the password") makes it less likely the file is treated as phishing, and tells them to check quarantine if it doesn't arrive.

Where the password should travel: the encrypted archive goes by email, the password goes by phone or text message, and the recipient needs both to open the files

A simpler option: send a link instead of the archive

Look at what the careful version takes: the right tool, the right format, a strong password, a second channel, and a heads-up. All that, and the encrypted file still lives in every mailbox it reached.

A one-time encrypted link solves the same problem with fewer moving parts. With Konfidant, you drop the files in your browser and they're encrypted there with AES-256-GCM before anything is uploaded. You get a one-time link for each file, with the decryption key after the #, a part of the URL that browsers never send to a server. (For a dozen files, zip them without a password and send the ZIP as one link; the link does the encrypting.) The recipient opens the link in any browser, clicks "Open & decrypt", and gets the file. The encrypted copy on Konfidant is then deleted, and if nobody opens the link, it expires at a time you choose.

Here's how that compares to the encrypted archive:

Encrypted archive by emailOne-time encrypted link
EncryptionStrong if AES-256, weak if ZipCryptoAlways AES-256-GCM, done in the browser
File namesVisible in ZIP, hidden in 7z if you tick the boxNot visible to the service or the mail provider
PasswordYou create it and send it separatelyNo password to choose; the key is in the link
Mail filtersOften quarantined because they can't be scannedA normal link in a normal email
Copies left behindOne per mailbox and backup, for yearsA link that stops working after first open
What the recipient needsAn app that opens the format, often extra on phonesA browser

Two honest notes. Because the key is part of the link, the link itself is the thing to protect until it's opened: send it to the person directly, not to a shared inbox or a group chat. If someone else opens it first, they get the files, the same as if they had intercepted both your archive and its password. The difference is that you'd find out, because the real recipient is told the link has already been used. And nothing, links or archives, stops a recipient from saving a file they've legitimately opened.

When an encrypted archive is still the right call

There's no need to replace every encrypted ZIP. An archive makes sense when:

  • the recipient's company blocks external file-sharing links but accepts attachments
  • you need to keep the encrypted file itself, for example on a USB drive or in your own records
  • the recipient will be offline when they open it

In those cases, follow the steps above: AES-256, encrypted file names, a strong password, a separate channel.

Questions people ask

Is a password-protected ZIP file secure?

It depends on how it was made. An archive encrypted with AES-256, protected by a long unique password that was sent by a different channel, is reasonably secure. One made with ZipCrypto, or with the password in the same email thread, is not. The file names inside a ZIP are visible either way.

What's the difference between compressing and encrypting a file?

Compressing makes the file smaller; anyone can open it. Encrypting scrambles the contents so that only someone with the password or key can read them. A password-protected archive does both at once, which is why people sometimes mix the two up.

Should I use ZIP or 7z?

7z with AES-256 and "Encrypt file names" ticked is the stronger choice. ZIP with AES-256 is fine when the recipient can't open 7z files, as long as the file names don't reveal anything. Avoid ZipCrypto for anything sensitive.

Can't I just password-protect the Word or PDF file instead?

Yes. Microsoft Office's "Encrypt with Password" and the password option in PDF tools use strong encryption in current versions, and they don't expose a list of file names. The other problems remain: the password has to travel separately, and the encrypted file stays in every mailbox for as long as they exist.

Doesn't my email provider already encrypt attachments?

Usually only in transit, between mail servers, and only when both sides support it. Once delivered, the attachment is stored where the mail providers can read it. Features like Outlook's "Encrypt" or Gmail's confidential mode help in some setups, but work best when both sides use the same provider.


If your team sends encrypted archives often, it's worth trying the link instead once. Send your first file free; the recipient only needs a browser. For a wider look at habits that cause trouble, see 5 mistakes that make it hard to send files securely.

This article provides general information, not legal advice. It describes Konfidant's features without guaranteeing them; what we provide is set out in our Terms of Service and Data Processing Agreement. Assess whether a tool meets your legal and regulatory requirements before sharing regulated data.

Enjoyed this article?

Get new articles on secrets management and secure sharing in your inbox. No spam, unsubscribe anytime.

We'll email you a link to confirm. Protected by Cloudflare Turnstile. See our Privacy Policy.

Ready to secure your team's secrets?

Stop leaving credentials in Slack. Start using burn-after-reading encryption.

Get started free