Skip to content
EasyToPaste

How to Send a ZIP File Securely (And When Not to Send One at All)

A step-by-step way to send an archive without handing over the key with it: pick AES-256, split the channels, set an expiry — or skip the ZIP and send a one-time link.

EasyToPaste Team Published 5 min read
  • zip files
  • file sharing
  • how-to

קרא בעברית

You have a file someone needs, it contains something you would rather not leak, and the obvious move is to zip it with a password and attach it. This is the checklist for doing that properly — and the case for not doing it at all.

Short version: if you must use a ZIP, choose AES-256, use a passphrase from a password manager, and send the passphrase through a different channel. If the ZIP exists only to be attached to an email, send a one-time encrypted link instead and skip the archive entirely.

Step 1 — decide whether the archive earns its place

A ZIP is worth making when it bundles many files into one, when the recipient specifically asked for an archive, or when it has to survive an offline route such as a USB drive handed over in person.

It is not worth making when the only reason is “a password makes it secure”. That belief is where the risk comes from. A password-protected ZIP has no expiry, no revocation, no delivery signal and no way to stop a copy existing for years — see are password-protected ZIP files secure?

Step 2 — pick the right encryption, explicitly

Two schemes exist and they are not comparable. Legacy ZipCrypto has had a public known-plaintext attack since the 1990s; AES-256 does not. The word “password-protected” does not tell you which one your archiver used, so set it by hand: in 7-Zip the Add to Archive dialog has an Encryption method dropdown — choose AES-256, not ZipCrypto. The command-line zip -e uses the legacy scheme; avoid it.

Full detail, including how to check an archive you already have, is in is a password-protected ZIP file encrypted?

Step 3 — use a passphrase you could not have invented

An attacker holding the archive guesses offline, at hardware speed, with no rate limit and no alert. Nothing about the ZIP format slows that down. Generate 4–6 random words or 20+ random characters in a password manager. Do not reuse one you use elsewhere, and do not pick something you can type from memory — that is the same thing as picking a weak one.

Step 4 — rename anything whose name gives it away

The filenames inside a ZIP are normally not encrypted, even when the contents are. Medical_results_Nov.pdf is readable to anyone holding the archive. If the names carry the sensitivity, rename them to document-1.pdf before you archive.

Step 5 — split the channels

This is the step most people skip, and it cancels everything above when they do.

  • Attachment by email, passphrase by phone call.
  • Attachment by email, passphrase by SMS to a number you already had.
  • Attachment on a USB drive, passphrase spoken in the room.

What does not count: the next message in the same thread, a second email to the same mailbox, or the same chat on a different day. One compromised mailbox should not yield both halves.

Step 6 — warn them it is coming

Encrypted archives are a known malware-delivery shape, so plenty of mail systems block, quarantine or junk them by policy, silently. Tell the recipient to expect it and to say if it does not arrive. Otherwise the first sign of a problem is a missed deadline.

Step 7 — clean up afterwards

Ask them to delete the archive and the message once they have what they need, and delete your own sent copy. This is the weakest step in the whole method, because it depends on two people remembering something after the urgency has passed — which is exactly the step a link with an expiry removes.

The alternative that removes steps 3 to 7

An encrypted one-time link inverts the problem. Instead of protecting a file that will exist forever, you hand over something designed to stop existing:

  • The file is encrypted in your browser with AES-256-GCM via the Web Crypto API, using a key generated on your device.
  • The key sits in the part of the link after the #, which browsers do not send in web requests, so the server only ever stores ciphertext it cannot decrypt.
  • The record is deleted when it is read or when it expires — one day by default on the free plan, 30 days at most — which is what makes the second visit fail. The uploaded file is a separate encrypted object, and a storage lifecycle rule clears that object about 38 days after it was created.
  • There is no attachment in a sent folder, no password to invent and nothing to remember to delete.
  • A second factor is not available yet. The Code + Passphrase mode that would split the key across two channels is designed but not shipped, and the app lists it as coming soon, so today the link carries the key on its own.

Size limits are 20 MB per file on the free plan when signed in, 1 MB without an account, and 100 MB on Plus — see pricing. The mechanics are on How It Works and the threat model is on Security.

What this does not fix, and nor does any other method: malware on the recipient’s machine, a screenshot, a forwarded copy, or a recipient who is careless after opening the file.

Compared head to head in AES-256 ZIP vs a one-time link.

The checklist

  1. Does the archive need to exist, or is it just an envelope?
  2. AES-256, set explicitly — never the default.
  3. A long random passphrase from a password manager.
  4. Rename files whose names are sensitive.
  5. Passphrase through a different channel than the file.
  6. Tell the recipient it is coming.
  7. Both sides delete afterwards.

If steps 3 to 7 feel like a lot to get right every time, that is the honest argument for a link that expires on its own.

Common questions

How do I send a ZIP file securely by email?
Encrypt it with AES-256 rather than the legacy ZipCrypto scheme, use a long random passphrase from a password manager, and send that passphrase through a different channel than the attachment — a phone call or an SMS, never the same email thread. Then ask the recipient to delete both once they are done, and delete your own copies.
Should I put the ZIP password in the same email?
No. That is the most common way an encrypted archive fails. Anyone who reaches the mailbox or the chat thread gets the lock and the key together, and the encryption has bought you nothing. Use a second channel, and ideally one that is not archived.
Why did my encrypted ZIP get blocked or quarantined?
Malware is sometimes shipped inside encrypted archives precisely so that scanners cannot look inside, so many mail systems block, quarantine or junk them by policy. Neither side is told. Warn the recipient to expect the file so a silent block gets noticed before the deadline rather than after it.
What is the maximum size I can email as a ZIP?
Most mail providers cap attachments around 25 MB, and the receiving server's own limit may be lower, so a large archive bounces or silently fails. Compression rarely helps with already-compressed content such as photos, video or PDFs. Above that size you need a link rather than an attachment.
Is there a safer alternative to sending a password-protected ZIP?
Yes: an encrypted one-time link. The file is encrypted in the browser before upload, the key stays in the link fragment that browsers never send to a server, and the record is deleted once it is read or when it expires, while the uploaded file's encrypted object is cleared by a storage lifecycle rule about 38 days after it was created. There is no attachment left in two mailboxes and no password to invent.

All articles