Back to Yunze

Secure File Transfer: A Complete Guide

Best practices for keeping your files safe when sharing them across the internet — whether you use Yunze or any other service.

Why File Transfer Security Matters

Every time you share a file digitally, you're making decisions that have security implications. Who can access the file in transit? Where is it stored? Who can see it? How long does it persist? Most people share files without thinking about these questions — and most file sharing services are designed to keep you from thinking about them.

This guide breaks down the key security concepts behind file transfer so you can make informed decisions about how you share sensitive information.

Encryption in Transit

The most fundamental security requirement for any file transfer is encryption in transit — ensuring that if someone intercepts your data while it's traveling across the internet, they can't read it. There are two main approaches:

TLS/HTTPS encryption: Most cloud services (Dropbox, Google Drive, WeTransfer) use TLS to encrypt the connection between your device and their servers. This protects your file from network eavesdroppers, but the service provider still receives and can access your unencrypted file.

End-to-end encryption (E2EE): With E2EE, the file is encrypted on your device before it leaves, and only the intended recipient can decrypt it. Even the service provider cannot access the file. Yunze's WebRTC data channels use DTLS, which provides strong encryption that even the signaling server cannot read.

🛡️ Yunze uses WebRTC DTLS encryption — your files are encrypted between your device and the recipient's device. No intermediary can read them.

Encryption at Rest

Encryption at rest refers to how files are stored. Cloud services that store your files should encrypt them on their servers — but "encrypted at rest" doesn't mean the service can't read them. It just means someone who steals their hard drives can't. The service provider still holds the encryption keys.

Yunze avoids this problem entirely: your files are never stored on our servers. There's nothing to encrypt at rest because there's nothing at rest.

Best Practices for Sharing Sensitive Files

1. Use end-to-end encrypted transfer methods
For truly sensitive files (legal documents, financial records, medical information), use services that offer genuine end-to-end encryption. P2P tools like Yunze are excellent for this because files never touch a server.

2. Encrypt the file itself before sharing
For an extra layer of protection, encrypt a file before sending it — even through an already-encrypted channel. Tools like 7-Zip allow you to create password-protected archives. Share the password through a different channel (phone call, in-person).

3. Verify the recipient
Before sharing sensitive files, confirm you're communicating with the right person. In Yunze, room codes are short-lived and session-based — they expire when the connection closes. Always share room codes through a trusted channel.

4. Use a secure network
Avoid sharing sensitive files over public WiFi networks without additional protection. While Yunze's WebRTC connections are encrypted, other traffic on your device may not be. Consider using a VPN on public networks.

5. Be careful with cloud-based fallbacks
When using Yunze's "Cloud Share" feature, your file is uploaded to a third-party service. This is convenient but doesn't have the same privacy guarantees as a direct P2P transfer. Use this feature only for non-sensitive files.

Common File Transfer Security Mistakes

Understanding Your Threat Model

Security is always a trade-off. The right level of security depends on what you're protecting and who you're protecting it from. A casual user sharing vacation photos has very different needs than a journalist sharing sensitive sources.

For most everyday file transfers, a service like Yunze provides excellent security: direct P2P, encrypted connection, no server storage. For very high-risk scenarios, consider additional measures: file-level encryption, air-gapped devices, or specialized secure communication tools.

Why We Built Yunze

Yunze was built because we believe privacy-respecting file transfer should be accessible to everyone — not just people with technical expertise. By building on WebRTC and keeping the interface simple, we've made it possible for anyone to share files with strong security guarantees, no account required, and no file size limits. We believe the future of file sharing is direct, private, and user-controlled.