Infrastructure
SFTP Harbor runs on Cloudflare's global network. SSH connections terminate in Cloudflare Workers close to the client; each SFTP server's users, folders and settings live in their own Cloudflare Durable Object, and file contents are stored in Cloudflare R2. There are no virtual machines, open management ports or long-lived servers for us to patch, and no administrator shell on customer storage.
Servers created in the EU region keep both file contents and metadata in the European Union. The region is chosen when a server is created and cannot change afterwards.
Encryption
-
In transit: SFTP runs over SSH. Key exchange is post-quantum by
default: we offer the hybrid ML-KEM-768 + X25519 method
(
mlkem768x25519-sha256, the OpenSSH 10 default) first, so traffic recorded today cannot be decrypted later by a quantum computer. Clients without it fall back to modern classical key exchange (Curve25519, ECDH, 2048-bit and larger Diffie-Hellman groups with SHA-2), AES-GCM and AES-CTR ciphers, and SHA-2 MACs. Older algorithms are available only on servers whose owners explicitly allow them for legacy systems. The website, dashboard and API use HTTPS with HSTS. - At rest: files in R2 are encrypted with AES-256 by the storage layer.
- Secrets: webhook signing keys and bucket credentials are encrypted with a data key unique to your account (AES-256-GCM), which is itself encrypted with a master key held only as a platform secret. Each ciphertext is bound to the record it belongs to, so it cannot be copied to another account or setting. Secrets are shown once and never returned by the API again.
- Host keys: the private host keys of the SFTP endpoint are stored encrypted with the same mechanism.
Host keys
All customers connect to one shared SSH endpoint, so these host keys are shared by every customer; your server is selected by the login name. Verify the fingerprint on your first connection, or install the known_hosts lines below beforehand. A dedicated endpoint with its own keys is on our roadmap.
Loading fingerprints…
Rotation. New keys are generated in advance and announced here and to
OpenSSH clients through the hostkeys-00@openssh.com extension (clients with
UpdateHostKeys, the OpenSSH default, learn them and confirm we hold them).
They replace the current keys 30 days later, and customers are emailed before the
switch. Private host keys are stored encrypted with a platform master key and never
leave the service.
SFTP logins
-
Each login is confined to its home folder. Paths are normalized before every
operation, and attempts to reach outside the folder with
..resolve inside it. - Permissions are read-write, read-only or upload-only. Upload-only users can add new files but cannot download, delete or overwrite anything.
- Passwords are optional and SSH keys are recommended. Passwords are at least 12 characters (generated ones carry over 140 bits of randomness) and are hashed with PBKDF2-HMAC-SHA256 at 600,000 iterations, the OWASP recommendation. Password checks run only after the lockout check and are capped per address, so guessing cannot tie up the service. RSA keys must be at least 2048 bits; DSA keys are not accepted.
- Failed logins are counted per address and per user. After repeated failures, further attempts are refused before the password is even checked, with waits that double each time. Unknown users and wrong passwords get the same answer and take the same time.
- Server-wide and per-user IP allowlists restrict where a login can connect from. When an allowlist is set and the client address cannot be determined, the login is refused.
- Disabling a user takes effect on the next login attempt; deleting a user removes their keys and password at once.
Tenant isolation
Every account's identity comes from its authenticated session or API key, never from request parameters. Each SFTP server's data object records the account it belongs to when it is created and refuses every call made on behalf of another account. Our automated test suite includes cross-account tests for each API route and for the storage layer.
Dashboard accounts
- Email addresses are verified before an account can sign in.
- Two-factor authentication (TOTP authenticator apps, with backup codes) is available to everyone and required for owners and admins before they add bucket destinations or create API keys.
- Sensitive actions such as changing SFTP passwords, rotating webhook secrets and creating API keys need a recent sign-in.
- Sessions expire after 12 hours of inactivity and are revoked when the password is reset. You can see and revoke your sessions in the dashboard.
- Roles separate owners, admins and members. Members work with files but cannot change users, integrations or settings.
- API keys are scoped to specific permissions, expire, and are stored only as SHA-256 hashes.
Webhooks and bucket destinations
-
Webhook payloads carry a
Harbor-Signatureheader with an HMAC-SHA256 over the timestamp and body. Receivers should reject signatures older than five minutes; see the verification example. - Outbound requests to webhook URLs and S3 endpoints go only to public HTTPS addresses. Private, loopback, link-local and cloud metadata addresses are refused, the destination is checked again on every delivery, and redirects are never followed.
- Bucket credentials are write-only in the dashboard: they can be replaced but never read back.
Web security
-
Customer files are downloaded from a separate domain (files.sftpharbor-usercontent.com) through
short-lived signed links, as attachments, with
nosniffand a sandboxing Content Security Policy. An uploaded HTML or SVG file can never run in the dashboard. - The dashboard sends a strict Content Security Policy, refuses to be framed, and checks the origin of every state-changing request.
- Upload link tokens carry 256 bits of randomness and are stored only as hashes. Links expire after at most 30 days, and password-protected links limit guesses.
Logging
The activity log records logins, failed logins, uploads, downloads, deletions and renames with the user and source address. The audit log records every configuration change made in the dashboard or through the API. Audit entries cannot be modified after they are written.
Data lifecycle
- Deleted files are removed from storage within minutes.
- Optional retention rules delete files automatically after a number of days.
- When a trial ends without a plan, files become read-only; 30 days later the account's files and SFTP configuration are permanently deleted.
Compliance status
We would rather be precise than impressive: SFTP Harbor has not yet completed a SOC 2 or ISO 27001 audit. Our infrastructure provider, Cloudflare, holds SOC 2 Type II and ISO 27001 certifications for the services we run on.
Report a vulnerability
If you believe you have found a security issue, email security@sftpharbor.com. Please include steps to reproduce, and test only against accounts you own. We acknowledge reports within two business days, keep you informed while we fix the issue, and credit you when it is resolved if you wish. We will not take legal action against good-faith research that respects these rules and avoids privacy violations, data destruction and service disruption.
Our security.txt lists the same contact details.