Setting Up 2-Factor Authentication for HiDrive

What is 2-factor authentication?

2-factor authentication is a method of verifying the identity of a user by combining two different and independent components (factors).

How does it work?

The first factor for authentication is the password.

The second factor is an authenticator app that must be installed on your smartphone. For example, you can use either FreeOTP or TOTP Authenticator as the app.

You can activate 2-factor authentication in the settings of your HiDrive account ( > Settings > Account).

After you have activated the service, you will receive a QR code, which you can scan with the app and generate a one-time password. Enter the one-time password from the app into the existing field and confirm with Verify code.

Finally, the setup is confirmed and you can use HiDrive with 2-factor authentication right away.

Please Note

When using the HiDrive storage using a protocol (such as HTTP), you will need to append the token generated for 2-factor authentication by the authenticator app with a colon (:) suffix after the required password.

Example: mypasswordislongandcomplex:123456 (123456 is the token)

If the protocol used (except SMB) requests the user name and password, the token remains valid for at least 60 minutes. This is how long a valid token is stored in the cache of the HiDrive infrastructure. After 60 minutes of inactivity, the token becomes invalid. However, the connection may have to be re-authenticated much earlier because the client used (such as WinSCP or FileZilla) disconnects the connection after only a few minutes of inactivity.