WordPress.org
  • News
  • Showcase
  • Hosting
    • Themes
    • Plugins
    • Patterns
    • Blocks
    • Openverse ↗︎
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • Events
    • Job Board ↗︎
    • About WordPress
    • Enterprise
    • Gutenberg ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Second Factor

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Second Factor

By apokalyptik
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

This plugin prevents logged in users from doing anything on your wordpress.org blog until they have verified their second factor of authentication. The process goes like this:

  1. A user logs into your blog.
    • Behind the scenes a bunch of cryptographic stuff happens and a key is generated and attached to that user. The key is overwritten with a new one every single time they log in. This key is emailed to that user (via the email address the user is registered under.)
  2. The user gets the email with the code.
  3. The user then enters the code at the page which is now presented to them when they are trying to access your blog
    • Behind the scenes the token is checked for validity, and a cookie is added to the users session. They are now allowed access to your blog. If the key changes (the user logs out, or is required to log in again) the cookie that they may have been using will no longer be valid and they will be asked to enter the new one that they get via email.

Screenshots

  • Second Factor Authentication Page

Installation

  1. Make sure that you can get email from your blog, because upon installation you will be required to authenticate.
  2. You may have to log out and back in to have a token sent to you after installation.

FAQ

Why?

To add a second layer of security to your WordPress blog

Why just email?

If there’s interest we can add sms, im, or other types of authentication

Is the email/form configurable?

No, if there’s interest then we can work on that.

What are users blocked from before authenticating?

Everything. If there’s interest we can work on configurability

Does this plugin affect anonymous users?

No.

Does this plugin affect commentors, or spam?

No.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Second Factor” is open source software. The following people have contributed to this plugin.

Contributors
  • apokalyptik

Translate “Second Factor” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

Initial release

Meta

  • Version 1.0
  • Last updated 15 years ago
  • Active installations 10+
  • WordPress version 3.0.1 or higher
  • Tested up to 3.1.4
  • Advanced View

Ratings

No reviews have been submitted yet.

Add my review

See all reviews

Contributors

  • apokalyptik

Support

Got something to say? Need help?

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry