Liferay六年中持续被评为Gartner水平门户魔力象限领导者。 原因是

What's Recaptcha? #

Recaptcha is a Google service that generates captchas. It alternatively has sound-based captchas for the hard of sight.

Why recaptcha? #

It tends to be faster (doesn't use your servers to generate the captcha) and has the sound feature that SimpleCaptcha (the default captcha system in Liferay) doesn't have.

Enable Recaptcha in Liferay #

To enable it, add this to your (if you're in the tomcat bundle that's tomcat-{version}/webapps/ROOT/WEB-INF/classes/ If the file doesn't exist, you should create it (and read about how to configure a real database, because using HSQL for a real site is not a good idea).

Copy and paste the following, but then go to to get your public and private keys.

# Enable or not reCaptcha



# Urls to access reCaptcha services

#reCaptcha domain specific keys
captcha.engine.recaptcha.key.private=YOUR KEY. FROM
captcha.engine.recaptcha.key.public=YOUR KEY. FROM

NOTE: Make sure when you copy these three lines below, that you copy without the brackets:

captcha.engine.recaptcha.url.noscript= captcha.engine.recaptcha.url.verify= }}}

Starting in Liferay 6.1, Recaptcha can be enabled in the control panel under "Server Administration." See Easily Improve your Captcha for more information.

0 附件
35839 查看
平均 (2 票)
满分为 5,平均得分为 4.5。
讨论主题回复 作者 日期
Cool thanks a lot Samuel Corné Aussems 2010年7月27日 下午10:53
If you need to use ReCaptcha on an... James Denmark 2011年3月22日 下午12:05 James Denmark 2011年3月22日 下午12:07

在 10-7-27 下午10:53 发帖。
If you need to use ReCaptcha on an ssl-encrypted site the links above will throw security violations in the browser. For secure access to recaptcha the properties above can be changed to but they are changing on 11-Apr-2011 from to

<a href="­035a">Link to discussion on ReCaptcha Google Group</a>
在 11-3-22 下午12:05 发帖。
在 11-3-22 下午12:07 发帖以回复 James Denmark