← Back to SharingCast

Is Peer-to-Peer File Sharing Safe?

A look at how WebRTC transfers actually protect your files

By the SharingCast team · Updated 6 October 2026 · About 8 minutes to read

In this guide

  1. What “peer-to-peer” actually means
  2. Why P2P has a mixed reputation
  3. The real risks, one by one
  4. How SharingCast handles security
  5. A safety checklist for any file transfer
  6. Frequently asked questions

What “peer-to-peer” actually means

Peer-to-peer (P2P) simply means two devices talk to each other directly instead of both talking to a central server. When you send a file peer-to-peer, it travels from your device to the other person’s device without being stored somewhere in between.

The term covers very different things. Torrent networks connect you with thousands of strangers at once. A video call connects you with one person you invited. A direct file transfer tool like SharingCast is much closer to the video call: one sender, one receiver, and a private code that links them.

So the honest answer to “is P2P file sharing safe?” is: it depends on what kind of P2P you mean, and on a few habits that matter for any kind of file sharing.

Why P2P has a mixed reputation

Most of P2P’s bad reputation comes from public file-sharing networks. On those networks you download files from people you do not know, so it is easy to receive something that is not what it claims to be, such as a “movie” that is really malware. Your IP address is also visible to everyone sharing the same file, and some of that content is pirated.

None of these problems come from the direct connection itself. They come from downloading unknown files from unknown people. A private transfer between you and a person you chose does not have that problem, because you know exactly who is on the other end and what they are sending.

The real risks, one by one

Someone else intercepting the file

Modern browser-based P2P uses WebRTC, which encrypts every connection with DTLS. Anyone sitting on the same café Wi-Fi sees only scrambled data. This is the same protection used for browser video calls.

The wrong person joining the transfer

If someone gets hold of your code while you are waiting, they could try to connect. This is why a password matters: with a password set, files only start sending once the receiver enters it correctly.

Receiving a harmful file

Any transfer method, including email and USB sticks, can deliver a harmful file. Only accept files from people you know, and treat unexpected programs and documents with macros with care, however they arrive.

Your IP address

In a direct connection, the two devices learn each other’s network address, much as they do in a video call. When you are only connecting with someone you chose, this is rarely a concern. On networks that block direct paths, SharingCast uses an encrypted relay instead, and then the devices connect through the relay.

Copies left on servers

This is where direct transfer is safer than most alternatives. Cloud links keep your file on a server for days or indefinitely. A direct transfer leaves no stored copy outside the two devices.

How SharingCast handles security

You can read exactly what data the website and apps handle in our privacy policy.

Start sending files →

Direct transfer vs cloud links vs email

Direct (SharingCast)Cloud linkEmail attachment
Encrypted in transitYes (DTLS)Yes (HTTPS)Usually
Copy kept on a serverNoYes, until deleted or expiredYes, in both mailboxes
Account neededNoUsuallyYes
Who can get the fileWhoever has the code (and password)Anyone with the linkRecipients, and anyone they forward to
Size limitNonePlan limitUsually 20–25 MB
Receiver must be online nowYesNoNo

The pattern is clear: every option is encrypted while the file is moving, so the real privacy difference is where copies end up afterwards. Email keeps a copy in at least two mailboxes, often for years. A cloud link keeps one on the provider’s server and works for anyone who gets hold of the link. A direct transfer leaves the file only on the two devices involved.

What happens to your file, step by step

It helps to follow a single file through a SharingCast transfer to see where it goes and where it does not.

  1. You choose the file. It stays on your device. Nothing is uploaded when you pick it.
  2. You press Start sharing. SharingCast creates a short-lived code. Only a small signalling message, which helps the two browsers find each other, passes through our server. It does not contain your file.
  3. The receiver connects. The two browsers agree on encryption keys directly with each other. If you set a password, it must match before any file data is sent.
  4. The file is sent in encrypted pieces. Each piece travels directly to the receiver, or through an encrypted relay if the network blocks direct paths. The relay passes the pieces on and cannot read them.
  5. The receiver saves the file. When the transfer is complete, the file exists on the two devices and nowhere else. There is no download link left to leak later.

A safety checklist for any file transfer

  1. Know who you are sending to. Share codes only with the person you mean to reach.
  2. Use a password for anything private. Send it by a different route, for example by voice or in another chat.
  3. Do not post codes publicly. A code in a public group or comment is visible to everyone.
  4. Be careful with static codes. A code that never changes is convenient but predictable. Always pair it with a password.
  5. Check what you receive. Do not open unexpected files, and keep your antivirus up to date.
  6. Close the session when finished. Once your transfer is done, stop sharing.

Frequently asked questions

Is P2P file sharing legal?

Yes. Sending your own files directly to another device is completely legal. What is illegal is sharing content you do not have the rights to, whatever method you use.

Is P2P safer than Google Drive or WeTransfer?

For privacy, a direct transfer has an advantage because no copy stays on a third-party server. Cloud services are more convenient when the receiver is not online at the same time.

Can SharingCast see my files?

No. Files go between the two devices over an encrypted connection and are not stored by SharingCast.

Is it safe on public Wi-Fi?

The transfer is encrypted, so others on the network cannot read it. Using a password adds protection against anyone who overhears your code.

Related guides