At line 9 changed one line |
---- |
OTP's are primarily intended for web interface logins. Variants like __Google Authenticator (TOTP)__ would be straight meaningless for __FTP__, __SFTP__, since it's impossible enroll anyways.\\ |
\\ |
A hidden flag in __prefs.XML__ controls for which protocols OTP should be enabled by default:\\ |
At line 11 changed one line |
!1. Ensure that Validated Logins is enabled to allow two-factor authentication.\\ |
{{{ |
<twofactor_secret_auto_otp_enable_protocols>ftp,ftps,sftp,http,https,webdav</twofactor_secret_auto_otp_enable_protocols> |
}}}\\ |
At line 13 changed one line |
[OTP Settings/otp_validate_logins.png]\\ |
You can customize the OTP token length by going to __Shares__ ([Manage Shares Link|Manage Shares])__ -> General Settings__, and adjusting the value in the __Length of auto-generated username and password__ input field.\\ |
At line 15 changed one line |
__[DMZ|DMZ]__ - Main node scenario: on Preferences -> General Settings -> OTP section the __Validated Logins__ option must be enabled on the DMZ node, so the DMZ gives the two-factor authentication to the Main node. |
[OTP Settings/otp_token_length_config.png]\\ |
At line 22 added one line |
!1. Ensure that Validated Logins is enabled to allow two-factor authentication\\ |
At line 19 changed one line |
!2. SMS based: |
[OTP Settings/otp_validate_logins.png]\\ |
\\ |
__[DMZ|DMZ]__ - Main node scenario: on __Preferences -> General Settings -> OTP section__ the __Validated Logins__ option must be enabled on the DMZ node, so the DMZ gives the two-factor authentication to the Main node.\\ |
---- |
!2. Supported OTP Methods\\ |
!2.1 SMS OTP Configuration\\ |
At line 23 changed 3 lines |
\\ |
__!!! Proxy Configuration:__ If your server accesses the internet through a proxy, make sure to whitelist the following domain: __api.twilio.com__\\ |
\\ |
---- |
__⚠️ Proxy Configuration:__ If your server accesses the internet through a proxy, make sure to whitelist the following domain: __api.twilio.com__\\ |
---- |
At line 29 changed one line |
URL : |
URL: |
At line 47 changed one line |
The config will be used only for users which have a phone number and the "Two factor SMS authentication" flag enabled in the User Manager.\\ |
__⚠️ Important__: The configuration will apply only to users who have a phone number (Go to [User Manager] -> Select the user).\\ |
At line 49 changed one line |
[otp_user_settings.png]\\ |
[OTP Settings/otp_user_settings_phone.png]\\ |
At line 51 changed 5 lines |
---- |
\\ |
!3. Email based: |
|
Email usage requires an __SMTP Server__ configured in the Preferences -> General Settings ( See at [General Settings])\\ |
!2.2 Email OTP Configuration\\ |
At line 57 changed 2 lines |
URL : SMTP \\ |
__!!!Note:__ Just those 4 uppercase letters, nothing else.\\ |
Email usage requires an __SMTP Server__ configured in the __Preferences -> General Settings__ (See at [General Settings]). __Note:__ Make sure your SMTP server is properly configured and functioning.\\ |
At line 65 added 3 lines |
__URL:__ SMTP \\ |
__⚠️ Important__ Just those 4 uppercase letters, nothing else.\\ |
\\ |
At line 62 changed one line |
This configuration applies only to users who have an email address and have the __Two-factor OTP/SMS authentication__ flag enabled in the User Manager.\\ |
This configuration applies only to users who have an email address and have the __Two-factor OTP/SMS authentication__ flag enabled in the [User Manager].\\ |
At line 68 changed one line |
__Note__: Variable for the One Time Password:\\ |
__⚠️ Important__: Variable for the One Time Password:\\ |
At line 93 added one line |
!3. Configuring OTP Settings for Users\\ |
At line 86 changed 3 lines |
OTP's are primarily intended for web interface logins. Variants like __Google Authenticator (TOTP)__ would be straight meaningless for __FTP__, __SFTP__, since it's impossible enroll anyways.\\ |
\\ |
A hidden flag in __prefs.XML__ controls for which protocols OTP should be enabled by default:\\ |
To enable OTP for a user (Go to [User Manager] -> Select the user, or choose the __default__ user to apply the settings to all users), check the __Two-factor OTP/SMS authentication__ setting in the user configuration.\\ |
At line 90 changed 5 lines |
{{{ |
|
<twofactor_secret_auto_otp_enable_protocols>ftp,ftps,sftp,http,https,webdav</twofactor_secret_auto_otp_enable_protocols> |
|
}}} |
Make sure the required __protocol__ is enabled.\\ |
At line 99 added 3 lines |
__(Optional)__ You can also configure the OTP to remain valid for multiple days.\\ |
\\ |
[OTP Settings/otp_user_settings.png]\\ |