Also knows as 2FA. The second layer of security added during the login process to protect an online account. When two-factor authentication is activated, the user logs in with a username and password and then provides the second factor of authentication. Security experts agree that 2FA should be used when possible on accounts that contain any personally identifiable information.