What it is for

A real password used by the wrong person passes every login limit. These three controls cover what such a person does next: sign in, add code, make themselves an administrator. Set them in a site’s protection settings: Security tab, Protection card, Settings, or for every new site under Default settings on the Security page.

Two-step login for the site’s own users

Choose a mode

Under Two-step login for the site’s own users:

Mode Who is asked for a second step
Off Nobody
Optional: users can add an authenticator app Users who set one up
Required for administrators (a code by e-mail until they add an app) Every administrator; the default

After the right password, the person is asked for one of: a code from an authenticator app, a 6-digit code emailed to them (good for 10 minutes), or one of 10 backup codes made when they set up the app. Users set up the app on their own profile page in wp-admin, with a QR code. XML-RPC cannot be used to skip the step. Logins from a shop’s My Account form go through the same step and return to the page they started on.

Give administrators time: the grace period

Set Grace period (0 to 30 days). Administrators without an app can still sign in with a password alone for that many days, counted from their first sign-in once the rule applies to them. wp-admin tells them when it starts, with a link to set up an app. 0 asks at once. Anyone who has an app is always asked. Needs connector 1.59.

Excuse someone for a while

  1. On the site’s Protection card, click Excuse from two-step.
  2. Pick the administrators and a day for each, at most 90 days ahead and 20 people.
  3. Save. They sign in with the password alone until the end of that day in the client’s time zone. Nothing has to run for it to end.

The code lock

With a stolen administrator password, the next step is adding code. The lock has two strengths, chosen under What the code lock holds back:

Strength What WordPress refuses What still works
Block uploads (recommended, the default) Plugin and theme zips uploaded from wp-admin, the file editors, file managers and PHP snippet plugins being switched on Installs and updates from WordPress.org. Each install by a person alerts you and starts a malware scan
Block everything Every install, upload and edit from WordPress Only Keptstone installs code

In both, file managers (WP File Manager and the like) are never switched on, and one already on is switched off. Snippet plugins already running keep running, so the snippets the site relies on do not stop. Keptstone’s own updates, Library installs and repairs always pass.

Open it for an hour

On the site’s Protection card, click Open for an hour. The lock closes by itself when the hour is up, even if Keptstone cannot reach the site. Lock now closes it early.

Name trusted uploaders

When a developer or the client’s own administrator uploads zips often:

  1. On the Protection card, click Trusted uploaders.
  2. Choose the administrators who may upload plugin and theme zips. Only people whose login asks for a second step can be chosen, so a stolen password alone still adds no code.
  3. Save. At most 10 per site, only while the lock is on Block uploads. Every upload alerts you and starts a malware scan. The file editors stay off for everyone. Needs connector 1.57.

The administrator guard

Only a person signed in as an administrator, WP-CLI, WordPress’s own installer or Keptstone can make an administrator. Any other grant (a scheduled task, a visitor’s request, a request nobody was signed in for) is undone at once: the account gets back its old role (or subscriber), a new random password and no sessions. You get a critical alert naming who acted and from which file, such as “Stopped: given the administrator role by a scheduled task (WP-Cron), from wp-content/plugins/…”.

On Care + Protect + Speed, the 15-minute watch also finds an administrator written straight into the database, which WordPress never announces. One registered in the last 7 days is signed out and made a subscriber; an older one is reported.

What can go wrong

  • The emailed code never arrives. The site sends it with WordPress’s own mail. If the site’s mail goes to spam or nowhere, fix the site’s mail (an SMTP plugin, the host’s mail settings), or excuse the person while you do.
  • Someone is excused but cannot upload. An excused person is not a trusted uploader, since that needs a second step.
  • “This plugin stays off” when someone activates a file manager: the code lock refuses it on purpose. Use SFTP or the host’s file manager instead.
  • A trusted uploader stops being able to upload. Two-step login was made optional and they have no app, or the lock was set to Block everything.
  • Releasing a site switches two-step login off, and the site’s administrators see a notice saying so (release a site).

Two-step login, the code lock and the administrator guard are in both plans, from Care at $2 a site a month (pricing).

Questions

Does my team have to type a code every time they open a client site?

No. Keptstone's one-click login, the WP Admin button, marks the login as trusted: your team already signed in to Keptstone with two steps. Only people signing in with a WordPress password are asked.

My client lost their phone. How do they get in?

They can use one of their backup codes, or a code emailed to them when two-step is required for administrators. Or excuse them on the site's Protection card with Excuse from two-step, until a date you choose.

Can a developer still upload a premium plugin with the code lock on?

Yes. Click Open for an hour on the site's Protection card, name them a trusted uploader, or upload the zip to your Library and install it from Keptstone, which the lock always lets through.