Supported 2FA Methods
Files.com offers several 2FA methods from which your users can select for their 2FA protection.
Users may add multiple 2FA methods to their accounts and have multiple active simultaneously.
Files.com recommends hardware security keys and authenticator apps as the primary 2FA methods. Use SMS and email only as fallback options.
Site Administrators choose which methods users may enroll. Changes to supported methods explains replacement enrollment when a method is disabled.
Hardware Security Keys
A hardware security key is a physical device, usually a small USB token. Files.com supports the following hardware security key authentication methods.
With WebAuthn, the key creates a credential bound to the site's domain and proves possession by signing a sign-in challenge. The browser and key check which site is requesting authentication. There is no verification code for the person to copy into a different site's form, which helps protect against deceptive sign-in pages.
One-time password (OTP) methods instead produce a code that a person types or a key enters into a form. A short lifetime limits how long that code is useful, but does not bind it to the site receiving it: someone can still enter a current code on the wrong page. A Yubikey can support both WebAuthn and native OTP; choose the enrolled method according to the protection and client compatibility you need.
Yubikey WebAuthn (Preferred)
This is the 2FA method recommended by Files.com for the greatest security. This method does not support FTP/SFTP/DAV connections. Learn more about Yubikeys.
WebAuthn is compatible with the previous FIDO U2F standard.
Yubikey Native
This method uses the OTP (One-time Password) feature of your Yubikey. This method supports FTP/SFTP/DAV connections. Blue Yubikeys are not supported.
Hardware Key (WebAuthn)
This includes non-Yubikey hardware keys that support WebAuthn. This method does not support FTP/SFTP/DAV connections.
Authenticator Apps That Use TOTP (Time-Based One-Time Password)
These include apps such as Google Authenticator, Duo, and Authy. Authenticator apps are typically installed and used on mobile devices. This method supports FTP/SFTP/DAV connections.
Authenticator apps generate time-based codes on a short schedule. Enter a current code when starting a new sign-in, and keep your device clock accurate so Files.com can verify it. Once a password and code establish an FTP, SFTP, or WebDAV sign-in, repeat connections can use that combination within its session limits even after the app displays another code.
Enable automatic time synchronization (NTP) on your device to prevent clock drift. If a code is about to expire, wait for the next one before submitting.
SMS (Text Messages)
SMS-based 2FA is less secure than hardware security keys and authenticator apps, but still safer than a password alone.
With this method, Files.com sends a one-time code by SMS to the phone number configured for the user's 2FA when they start a web sign-in.
An unused code is valid for 10 minutes and is consumed when it establishes a sign-in. FTP, SFTP, and WebDAV clients can then reuse the password and code for repeat connections within that sign-in's limits. A separate new sign-in needs a fresh code; Files.com sends it when the user starts a web sign-in.
SMS depends on phone carriers and third-party delivery networks. Someone who gains access to your messages, transfers your number to another SIM without your permission, or receives a reassigned number may receive your verification codes. These dependencies make SMS less secure than device-based methods.
SMS is also less reliable. Delivery can be delayed or blocked by carrier issues, roaming issues, or regional outages. Because one-time codes are time-sensitive, delays can prevent successful login.
Use SMS only when a hardware security key or authenticator app is not practical.
This method supports FTP/SFTP/DAV connections, though not usefully, because a code is only issued during a web sign-in. Use an authenticator app for accounts that connect over those protocols.
Email Verification
Email verification is the weakest 2FA method Files.com offers. Use it only when a hardware security key, Yubikey, or authenticator app is not possible.
With this method, the user enters a code that Files.com sends by email each time they attempt to log in.
The verification code and the password reset link travel to the same place. Files.com sends both to the user's primary email address. A person who controls that mailbox can reset the password and collect the verification code, so the two factors collapse into a single credential.
Password Recovery via Email explains how mailbox access affects password resets and recommends an independent second factor. Email verification does not provide that separation.
Email verification still prevents someone who has only a stolen or reused password from signing in, so it is stronger than having no second factor at all.
Each code works exactly once. While a code is still unused, Files.com expects that same code for repeated login attempts within its 10 minute window rather than generating a new email. Once a code has been used, or once 10 minutes have passed, the next login attempt causes Files.com to email a fresh one.
Email delivery can be delayed by spam filtering, mail routing issues, provider outages, or local mail server policies. Because each code is short-lived, delayed delivery can make the code unusable before it arrives.
This method does not support FTP/SFTP/DAV connections.