ShareMyFile
Home Privacy Policy Terms of Service Security Copyright Report Abuse Grievance Officer Open Source FAQ

Security Architecture & Verification

Technical Verification Date: November 18, 2026 | Operator: Sandeep Tech (India)
Security Summary: ShareMyFile is designed with privacy by design. We use browser-native WebRTC DataChannels for peer-to-peer file transfer, protected by standard DTLS encryption. No file contents or messages are stored on our servers.

1. WebRTC Encryption in Transit

File transfers on ShareMyFile utilize the standard WebRTC DataChannel API (RFC 8831 / RFC 8261). Security characteristics include:

  • DTLS Encryption: WebRTC mandates Datagram Transport Layer Security (DTLS) for all data channel traffic. Modern browsers negotiate DTLS 1.2 or DTLS 1.3 using strong authenticated ciphers (such as AES-GCM).
  • Direct Peer-to-Peer: Once peer connections are established, data packets stream directly between the two endpoints over your local network or Internet path.
  • WebSocket Fallback Disclosure: In rare network scenarios where direct WebRTC connections are blocked by restrictive enterprise firewalls, an in-memory WebSocket relay fallback is used. When active, traffic is encrypted via TLS (WSS) and stream-forwarded transiently in RAM without being written to disk.

2. Signaling & Ephemeral State

Before peer browsers can exchange data directly, they require a lightweight signaling server to swap connection handshakes (SDP offers/answers and ICE candidates):

  • Signaling Only: Our signaling server only routes connection metadata (device display names, temporary session IDs, and network routing descriptors).
  • No Database / Zero Disk Storage: Active room mappings and connected peers reside strictly in volatile server RAM. When a user closes the browser tab or disconnects, the in-memory record is removed immediately.
  • STUN Servers: We configure public STUN servers (operated by Google, Cloudflare, Mozilla, and Twilio) solely to discover public IP/port mappings for NAT traversal. STUN servers never receive or process file payload data.

3. 4-Digit Transfer PIN Protection

ShareMyFile includes an optional 4-digit PIN protection feature:

  • How It Works: When enabled, the sender's client computes a SHA-256 hash of the chosen PIN (salted with a client-side prefix) and attaches the hash to the transfer metadata. Previews and automatic downloads are locked on the receiver's screen until the recipient enters the matching 4-digit PIN.
  • Scope of Protection: This feature is designed as a convenient confirmation gate to prevent accidental acceptance or shoulder surfing on the receiver's device. Because 4 digits represent 10,000 combinations, it should be regarded as an operational safeguard rather than a cryptographic alternative to end-to-end authentication.

4. Zero-Trace Mode

When Zero-Trace Mode is toggled on in the Security dialog:

  • The application disables saving entries to the local browser transfer history in LocalStorage.
  • In-memory blob object URLs created during file assembly are revoked shortly after download completion, freeing browser RAM.

5. Responsible Vulnerability Disclosure

We welcome security researchers and ethical hackers who identify potential security vulnerabilities in our implementation or dependencies. Please report security issues responsibly to:

Lead Developer & Security Contact: Sandeep Bhondwe (Sandeep Tech)
Organization: Sandeep Tech (India)
Email: [email protected]
Website: https://sandeeptech.dev
Guidelines: Please allow reasonable time for remediation before public disclosure. We do not take legal action against researchers acting in good faith.

← Back to ShareMyFile Privacy Policy Open Source Notices
ShareMyFile (sharemyfile.link) • Developed by Sandeep Tech