Linux 软件免费装
Banner图

SI 2FA Login Security

开发者 strokeinfotech
更新时间 2025年3月5日 14:05
PHP版本: 5.6 及以上
WordPress版本: 6.7
版权: GPL2 or later
版权网址: 版权信息

标签

2FA two-factor two-factor authentication 2-factor authentication multi step authentication WordPress authentication google-authenticator two-factor-auth

下载

1.2 1.1

详情介绍:

Secure WordPress login with this two factor authentication (MFA / 2FA) plugin. Users for whom it is enabled will require a one-time code in order to log in. Features (please see the "Screenshots" for more information): [si2flose_twofactor_user_settings] How Does MFA / 2FA Work? This plugin uses the industry standard MFA / 2FA algorithm TOTP for creating One Time Passwords. These are used by Google Authenticator, Authy, and many other OTP applications that you can deploy on your phone etc. A TOTP code is valid for a certain time. Whatever program you use (i.e. Google Authenticator, etc.) will show a different code every so often. Plugin Notes This plugin began life in early 2025 as a friendly fork and enhancement of "wp mfa authentication" plugin. This plugin requires PHP version 5.3 or higher and support for either php-openssl or PHP mcrypt. The vast majority of PHP setups will have one of these. If not, ask your hosting company.
  1. Search for 'SI 2FA Login Security' in the 'Plugins' menu in WordPress.
  2. Click the 'Install' button. (Make sure you picks the right one)
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Find site-wide settings in Settings -> Mfa Factor Setting ; find your own user settings in the top-level menu entry "MFA Factor Auth".
If you want to add a section to the front-end of your site where users can configure their two-factor authentication settings, use this shortcode: [si2flose_twofactor_user_settings]

安装:

This plugin requires PHP version 5.3 or higher and support for either php-openssl or PHP mcrypt. The vast majority of PHP setups will have one of these. If not, ask your hosting company.
  1. Search for 'SI 2FA Login Security' in the 'Plugins' menu in WordPress.
  2. Click the 'Install' button. (Make sure you picks the right one)
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Find site-wide settings in Settings -> Mfa Factor Setting ; find your own user settings in the top-level menu entry "MFA Factor Auth".
If you want to add a section to the front-end of your site where users can configure their two-factor authentication settings, use this shortcode: [si2flose_twofactor_user_settings]

屏幕截图:

  • 2. User settings (front-end, via Shortcode)
  • 3. Regular WP login form requesting OTP code (after successful username/password entry)

升级注意事项:

  • 1.0 : Fix a regression in 1.0, and manage a database option more efficiently. A recommended update for all.
  • 1.1 : Fix a Escaped and Sanitized variable 1.1, and manage a database option more efficiently. A recommended update for all.
  • 1.2 : Improvements readme and added user login logs.

常见问题:

What is SI 2FA Login Security (MFA / 2FA) ?

Basically, it's to do with securing your logins, so that there's more than one link in the chain needing to be broken before an unwanted intruder can get in your website. By default, your WordPress accounts are protected by only one thing: your password. If that's broken, then everything's wide open. "MFA Factor Auth" means adding a second requirement. Usually, this is a code that comes to a device you own (e.g. phone, tablet) - so, someone can't get into your website without getting hold of your device. You can get a longer answer from Wikipedia.

How does two factor authentication (MFA / 2FA) work?

Since "SI 2FA Login Security" just means "a second something is necessary to get in", this answer depends upon the particular set-up. In the most common case, a numeric code is shown on your phone, tablet or other device. This code be sent via an Authenticator; this then depends on the mobile phone network working. This plugin does not uses that method. Instead, it uses a standard mathematical algorithm to generate codes that are only valid once each, or for only for 30 seconds (depending on which algorithm you choose). Your phone or tablet can know the code after it has been set up once (often, by just scanning a bar-code off the screen).

What do I need to set up on my phone/tablet (etc.) in order to generate the codes?

This depends on your particular make of phone, and your preferences. Google have produced a popular app called "Google Authenticator", which is a preferred option for many people because it is easy to use and can be set up via just scanning a bar code off your screen - follow this link, and ignore the first paragraph that is talking about 2FA on your Google account (rather than being relevant to this plugin).

What if I do not have a phone or tablet?

Many and various devices and programs can generate the codes. One option is an add-on for your web browser; for example, here are some apps and add-ons for Google Chrome. Wikipedia lists various programs for different computers. If you cannot get in and need to disable mfa-factor authentication, then add this to your wp-config.php file, using FTP or the file manager in your hosting control panel: define('SI2FLOSE_FACTOR_DISABLE', true);

What is the shortcode to use for front-end settings?

[si2flose_twofactor_user_settings]

I deliberately entered a wrong password, and it let me login!

You have a password manager extension installed in your web browser, with the correct password entered in it. It has automatically replaced your wrong password with the right one from its saved store. This behaviour has been observed and confirmed by several users. You can verify it by using the web developer tools in your browser to look at the HTTP data sent to WordPress, and observe which password is actually in it. You can also open a fresh web browser with no such extension in it to re-test. Note that the two factor authentication plugin has no mechanism to compare or approve passwords; this is done by WordPress core. If the wrong password is sent, then this is handled by WordPress, and the login will not proceed.

更新日志:

1.0 - 27/Jan/2025 Initial release 1.1 - 06/Feb/2025 1.2 - 04-03-2025