1. WebRTC DataChannel Cryptography
Under the IETF and W3C WebRTC standards specifications, WebRTC DataChannels mandate encryption by default. Unencrypted data channels cannot be instantiated in compliant modern web browsers.
During connection negotiation, the sender and receiver browsers perform an authenticated Diffie-Hellman key exchange over DTLS. The session keys generated remain strictly contained inside the memory sandbox of each browser tab. Intermediary routers, ISPs, and signaling servers have zero access to the cryptographic keys.
2. What Happens When a TURN Relay Is Used?
In certain strict network topologies (such as symmetric enterprise NATs where direct peer-to-peer UDP binding is blocked), traffic routes through a TURN relay.
The relay server is merely a packet forwarder. Because encryption takes place at the DTLS layer between the two browser endpoints, the TURN server only observes encrypted ciphertext bytes. The relay cannot decrypt, parse, or read the file data. Furthermore, no relayed traffic is ever logged or saved to persistent disk storage.
3. Recipient Consent & Protection Against Unsolicited Files
Unlike legacy wireless transfer protocols that might display intrusive push prompts on nearby devices, RealFileShare operates with strict explicit consent:
- A recipient must actively navigate to directshare.pages.dev and manually enter the 6-digit code or scan the QR code.
- Before any file payload begins transmitting, the receiver is presented with the sender device name, file count, and total transfer size.
- Payload streaming only starts after the recipient accepts the session.
4. Responsible Vulnerability Disclosure
We take the security of RealFileShare extremely seriously. If you are a security researcher and believe you have identified a vulnerability in our signaling infrastructure, WebRTC implementation, or web application, we welcome your responsible disclosure.
Reporting Guidelines:
- Email detailed steps to reproduce to security@realfileshare.com.
- Do not exploit the vulnerability to access private data or disrupt production service.
- Give our engineering team a reasonable window (typically 48–72 hours) to investigate and patch before making any public disclosure.
✓ We acknowledge all legitimate security reports within 24 hours.