Title: 2BC Form Security
Author: Jason
Published: <strong>2015 年 4 月 8 日</strong>
Last modified: 2015 年 5 月 7 日

---

搜索插件

![](https://ps.w.org/2bc-form-security/assets/banner-772x250.jpg?rev=1130073)

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

![](https://ps.w.org/2bc-form-security/assets/icon-256x256.png?rev=1130069)

# 2BC Form Security

 作者：[Jason](https://profiles.wordpress.org/2bc_jason/)

[下载](https://downloads.wordpress.org/plugin/2bc-form-security.2.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/2bc-form-security/#description)
 * [评价](https://cn.wordpress.org/plugins/2bc-form-security/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/2bc-form-security/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/2bc-form-security/#developers)

 [支持](https://wordpress.org/support/plugin/2bc-form-security/)

## 描述

The [2BC Form Security](http://2bcoding.com/plugins/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](https://www.google.com/recaptcha/)
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](http://2bcoding.com/plugins/2bc-form-security/2bc-form-security-documentation/)
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](https://codex.wordpress.org/First_Steps_With_WordPress#Log_In)
    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](https://wordpress.org/plugins/2bc-form-security/)
    and save it to the local computer. Make sure that the folder has been unzipped.
 2. [Using an FTP program or cPanel](https://codex.wordpress.org/FTP_Clients), 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](https://codex.wordpress.org/First_Steps_With_WordPress#Log_In)
    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](http://2bcoding.com/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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jason ](https://profiles.wordpress.org/2bc_jason/)
 *   [ Aron ](https://profiles.wordpress.org/2bc_aron/)

[帮助将「2BC Form Security」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/2bc-form-security)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/2bc-form-security/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/2bc-form-security/)，或通过[RSS](https://plugins.trac.wordpress.org/log/2bc-form-security/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/2bc-form-security/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.6 或更高版本 **
 *  已测试的最高版本为 **4.2.39**
 *  语言
 * [English (US)](https://wordpress.org/plugins/2bc-form-security/)
 * 标签
 * [2bc](https://cn.wordpress.org/plugins/tags/2bc/)[2bcoding](https://cn.wordpress.org/plugins/tags/2bcoding/)
   [captcha](https://cn.wordpress.org/plugins/tags/captcha/)[google](https://cn.wordpress.org/plugins/tags/google/)
   [recaptcha](https://cn.wordpress.org/plugins/tags/recaptcha/)
 *  [高级视图](https://cn.wordpress.org/plugins/2bc-form-security/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/2bc-form-security/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/2bc-form-security/reviews/)

## 贡献者

 *   [ Jason ](https://profiles.wordpress.org/2bc_jason/)
 *   [ Aron ](https://profiles.wordpress.org/2bc_aron/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/2bc-form-security/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://2bcoding.com/donate-to-2bcoding/)