Introduction to the Users Protection zone

The Users Protection feature offers real user sessions, finer control over user session time-out, and ensures users have logged-in in a correct manner. 

It's accessible from within the main Shield sidebar menu > Configure > Users.

Access to User Protection zone

Users Protection is composed of the following components:

Two-Factor Authentication

The options available are as follows:

  • Enable Email Authentication

When enabled, this option will require all users to verify their login by email-based two-factor authentication. Learn more about Two-Factor Authentication by Email here.

Select user roles you want to be subject to Email Authentication. 

Any user can turn on two-factor authentication by email from their profile. This feature is enabled by default on Pro sites.

When active, 2FA emails will contain a link that will automatically login the user without the need to enter 2FA Codes.

SureSend is a dedicated email delivery service from Shield Security PRO. The purpose is to improve WordPress email reliability for critical emails.

Any app that generates time-based one-time passwords (TOTP) is supported, including Google Authenticator, LastPass Authenticator, Microsoft Authenticator and Authy.

You can add unlimited Passkeys to your WordPress accounts to use as 2nd factors during WordPress login.

Passkey authentication provides a secure and passwordless way to access your WordPress site. It replaces traditional username and password logins with digital credentials, making login more secure and more convenient.

Users can register Passkeys & FIDO2-compatible devices to complete their WordPress login.

Verifies the identity of the users who log in to your site - i.e. they are who they say they are. Learn more about Yubikey 

Important: Review the info link on how to get your own Yubikey App ID and API Key.

Read more about Yubikey Authentication here.

Passwords

Password strength, breached passwords and expiry options.

Sessions

Allows you to better control user sessions on your WordPress site and expire idle sessions and prevent account hijacking and sharing.

improve the protection of user sessions against theft and unauthorized access. By configuring the session locks options, you can significantly reduce the risk of user session hijacking.

Send email notification to each user upon successful login.

Suspended Accounts

Automatically suspend login for idle accounts and requires password reset to unsuspend.

Manually suspend user accounts to prevent login.

Advanced options

A user can by-pass Two-Factor Authentication (2FA) for the set number of days.

Important: Two-Factor By-Pass option is available with ShieldPRO only.

Allow users to generate a backup code that can be used to login if 2FA factors are unavailable.


How does WordPress user sessions work?

WordPress does not use PHP sessions and does not maintain information (states) from 1 page load to the next – it is completely stateless.

This means that WordPress only cares that each time you load a page, you can verify that you are authenticated with it.

How does it do that?

With Cookies.  When you log into WordPress, it will set a number of cookies on your browser that are checked on each page load.

If you want to know who is logged-in, and from where, deeper user sessions management is the only way.

If you want to forcefully log-out certain users for whatever reason, with user session management you can do so without affecting other logged-in users.  For example:

  • You want to log-out idle users (after a certain length of time that you decide)
  • You want to restrict a user session to an IP address (in this way you can’t just sniff cookies and apply them to your browser – unless you’re in the same location)

How do the WordPress Shield Security user sessions work?

When you start using User Session Management for the first time, you’ll be logged out of WordPress.

This is because you’ve activated the Shield Security’s user sessions management and it’ll immediately check whether you have an active session in the database.

If it can’t find it, it logs you out – you immediately experience the effects of the user sessions managements.

Once you’re logged-in, however, each time you access the site, it’ll lookup your sessions against the database – to track your session, it places a unique cookie with your session ID. This is matches against your WordPress username and determines the validity of your session.

You can also optionally lock sessions to IP addresses for extra session hardening.

How can you see who is actively logged in to your WordPress site?

Under the "Investigate" of the plugin Security Dashboard > User Sessions section, you can view tables of logins, and currently active sessions.

It outlines:

  • user name
  • the IP address from which they’re accessing the site (which links to the IP Analysis dialog) and user agent
  • if they are security admins or not
  • their last activity time
  • the time they logged into this session

You can filter, select to delete/discard user(s) session(s) directly from within the table. (see the screenshot below)

User Sessions table: Filter and manage sessions

Note: If you need to find out what your IP address is, please use this page here:

https://getshieldsecurity.com/my-ip/

For more information about user sessions - who's logged into your site, please read this blog article here.