该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

2BC Form Security

描述

The 2BC Form Security WordPress plugin will increase security and reduce spam by using tools like the Google reCAPTCHA V2 widget (noCAPTCHA CAPTCHA) and a honeypot field. While simple, these can be very effective at keeping spam bots and scripts out of your site.

Features

2BC Form Security can now add the reCAPTCHA widget to BuddyPress! Simply fill in the API keys, enable reCAPTCHA, and check the Registration Form under the Where To Display section.

2BC Form Security will automatically activate a honeypot on the log in form, registration form, and comment form. With a few minutes of setup, it can also display the Google reCAPTCHA v2 widget in any of the same locations.

The reason captcha and honeypots work is because spam bots and scripts have a hard time reading CSS and Javascript when they are trying to fill out a form. The honeypot is hidden from a normal user, but a bot will try to fill in the field with some information. If anything is detected in a honeypot field, 2BC Form Security will return an error and prevent the action from happening.

Google reCAPTCHA has historically been difficult because Google used warped pictures that were hard for bots AND humans to fill out. Now it has been condensed into a Javascript widget, otherwise known as the new noCAPTCHA CAPTCHA. No more letters and numbers that are hard to read, simply click the widget to proceed. This is the first level of defense: bots have a hard time detecting or clicking Javascript elements in a web page. However humans have a very easy time, even on mobile devices.

If spam bots are able to figure out a way around this, Google has added many additional layers of defense and have prepared extra questions. Some of the new challenges will be incredibly hard for a bot to work out, but are still easy on humans and actually fun to complete!

In addition to adding the honeypot and Google reCAPTCHA tools, 2BC Form Security has the following features:

  • Statistics page in the admin section – make sure to enable this on the options page
  • Optional login error rewrite – prevents hackers from figuring out valid user names
  • Mark failed comments as Spam, or put into the Moderation Queue
  • Dashboard widget
  • Style the Google reCAPTCHA widget in either of the current themes: Light or Dark
  • Compatible with BuddyPress 1.6+

Future updates include integration with bbPress, Contact Form 7, and a shortcode for custom forms.

Documentation

The 2BC Form Security documentation page contains an explanation of all the settings, as well as how to setup and run the plugin.
* Requires WordPress 3.6, and PHP 5.2+

屏幕截图

  • Google reCAPTCHA V2 on the WordPress log in form
  • Google reCAPTCHA V2 on the twentyfifteen comment form
  • 2BC Form Security options page
  • 2BC Form Security Dashboard widget

安装

The 2BC Form Security can be installed via the WordPress plugin repository (automatic), or by uploading the files directly to the web server (manual).

Automatic

  1. Log in to the WordPress administration panel with an administrator account
  2. Click Plugins > Add New
  3. Search for 2BC Form Security
  4. Find the plugin in the list of results and click the Install Now button
  5. Click OK to confirm the plugin installation. If there are any file permission issues, WordPress may ask for a valid FTP account to continue. Either enter the FTP credentials, or proceed to the Manual installation instructions.
  6. Click the Activate Plugin link after the installation is complete

Manual

  1. Download a copy of the plugin and save it to the local computer. Make sure that the folder has been unzipped.
  2. Using an FTP program or cPanel, connect to the server that is hosting the website
  3. Find the root folder for the site and browse to the following directories: wp-content > plugins
  4. Upload the un-compressed 2bc-form-security folder in to the plugins folder on the server
  5. Log in to the WordPress administration panel with an administrator account
  6. Click Plugins > Installed Plugins
  7. Find the 2BC Form Security plugin in the list and click the Activate link

常见问题

How can I get Google reCAPTCHA V2 API keys

See our blog post on How To Get Google reCAPTCHA V2 API Keys. It’s quick, simple, and a free service.

How can I see if the fields are working

Edit the options screen and click Enable Reporting to see a summary of what fields are working and where.

评价

此插件暂无评价。

贡献者及开发者

“2BC Form Security” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“2BC Form Security”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.0.1

  • Fixed minor styling issues in options screen
  • Added error when site key and secret key are valid, but not paired

2.0.0

  • Added integration with BuddyPress registration form
  • Added ob_clean before ajax response to remove WP debugging messages
  • Ensuring HTTP API error won’t lock users out of a site
  • Only loading reCAPTCHA scripts if options are correctly set
  • Setting honeypot to always display, everywhere
  • Shortened honeypot filter css name to twobcfs_hp_css

1.0.0

  • Launch of 2BC Form Security