Home WordPress Security Glossary Multi-factor authentication (MFA)

Multi-factor authentication (MFA)

What is Multi-factor authentication?

Multi-factor authentication (MFA) is a broad term that brings together all forms of authentication in which more than one factor is required. An authentication factor is a mechanism through which a user can authenticate themselves. A username and password combination is one authentication factor many are familiar with. In multi-factor authentication, users must use two or more authentication methods.

The most common MFA implementation on WordPress is 2FA – two-factor authentication. In this implementation, two factors of authentication are used, essentially securing WordPress with multiple factors of authentication.

Why is multi-factor authentication important on a WordPress website?

Multi-factor authentication can stop most attacks on a WordPress website. It makes accounts much more secure, since an attacker would need a valid username and password and access to the other authentication methods. In most cases, the authentication methods over and above the username and password combination require access to a physical device such as the user’s phone, which an attacker will find very difficult to steal. According to a study carried out by Microsoft, this stops some 99.9% of account compromise attacks.

How multi-factor authentication works

Multi-factor authentication adds one or more additional authentication layers after the primary authentication method. The user must clear the first authentication method before moving on to the next one, of which there can be as many as five different ones.

The five different types of authentication factors are:

  • What you know – Through this factor, users must prove they know something, such as a password, before they are verified
  • What you have – Through this factor, users must prove they have something, such as a phone, before they are verified
  • What you are – Through this factor, users must prove they are someone, such as through a fingerprint, before they are verified
  • What you do – Through this factor, users must do something such as draw a specific pattern or gesture before they are verified
  • Where you are – Through this factor, users must be located in a specific place to be verified

Multi-factor authentication process

To better illustrate how MFA works, we will go through a typical authentication process that uses MFA.

  1. The user accesses the login page, where they need to enter their username and password. This is the 1st authentication factor known as What you know
  2. Once the username and password have been entered correctly, the user is asked for their OTP (One Time Password)
  3. The user opens their authenticator app, which requires them to log in with their fingerprint or Face ID before accessing the OTP. This is the 2nd authentication factor known as What you are
  4. Having successfully logged in to the authenticator app, the user will be able to find the corresponding OTP which they need to enter on the website. This is the 3rd authentication factor, known as What you have (since it proves the user has the phone)
  5. The user successfully logs in to the system

As the above scenario illustrates, if an attacker were to steal someone’s password, this would not be enough to access their account. They would also need to steal their phone as well as their face or finger – something that’s not easy to pull off (unless you’re Nicolas Cage).

Getting started with multi-factor authentication on WordPress

WordPress does not support multi-factor authentication straight out of the box; instead, it relies on 3rd party plugins. In most use cases, two-factor authentication (an MFA implementation that uses exactly two authentication factors) provides adequate protection, with the OTP implementation of 2FA offering the best balance between security and usability.

To add 2FA to your website, use WP 2FA, a 2FA plugin for WordPress that makes deploying MFA easy and seamless. Everything is managed through the WordPress admin area and offers a fine degree of control over the implementation of MFA/2FA.

Stay in the loop

Subscribe to the Melapress newsletter and receive curated WordPress management and security tips and content.

Newsletter icon

It’s free and you can unsubscribe whenever you want. Check our blog for a taste.

Envelope icon

 Boost your sites’ security and management! Download our free eBook on WordPress oversight.

Uploading WP 2FA as a zip file in WordPress
WP 2FA in the WordPress plugin repository
Close

Installing WP 2FA Free

Congratulations on taking the first step towards enhancing your WordPress site's security with WP 2FA Free! You're now on your way to protecting your valuable data and ensuring peace of mind. No coding or technical knowledge is required.

 

Below are two ways to install WP 2FA on your website:

Go to your plugin dashboard on your site, then go to "Add New", and then search for WP 2FA.

Download the WP 2FA plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading CAPTCHA 4WP as a zip file in WordPress
CAPTCHA 4WP in the WordPress plugin repository
Close

Installing CAPTCHA 4WP Free

Well done you. You're one step closer to safeguarding your WordPress website from spam and automated attacks with CAPTCHA 4WP. You'll be able to effortlessly integrate CAPTCHA into your forms and enjoy a website with enhanced security.

 

Below are two ways to install CAPTCHA 4WP on your website:

Go to your plugin dashboard on your site, then go to "Add New", and then search for CAPTCHA 4WP.

Download the CAPTCHA 4WP plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading WP Activity Log as a zip file in WordPress
WP Activity Log in the WordPress plugin repository
Close

Installing WP Activity Log Free on your website

You deserve a pat on the back for choosing to record user actions and changes on your website. That is the first step towards better user accountability, easier troubleshooting of website security, and many other benefits of issues.

 

Below are the two ways to install WP Activity Log on your website:

Go to your plugin dashboard on your site, then go to "Add New" and then search for WP Activity Log.

Download the WP Activity Log plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading Melapress Login Security as a zip file in WordPress
Melapress Login Security in the WordPress plugin repository
Close

Installing Melapress Login Security Free

Congratulations on taking control of your WordPress website's security by implementing robust login and password policies with Melapress Login Security. You can change your login page URL, limit failed login attempts, and reset passwords.

 

Below are two ways to install Melapress Login Security on your website:

Go to your plugin dashboard on your site, then go to "Add New" and then search for Melapress Login Security.

Download the Melapress Login Security plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2