You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ugo Cei <ug...@apache.org> on 2005/05/16 11:41:11 UTC

CAPTCHA for CForms validation

Hi,

I am in need of adding some anti-spam measures to a couple of Cocoon 
Forms I am developing and was thinking of using CAPTCHA [1]. It 
occurred to me that the best way to do it was by implementing a CForms 
validator, so that it could be easily reused.

If my memory doesn't fail me, someone (Tony?) wrote an "Image 
authenticator" sample some time ago, but I cannot find it anymore. That 
could be a starting point.

Before I start coding, has anyone done something like this before?

	Ugo

[1]: http://www.captcha.net/

-- 
Ugo Cei
Tech Blog: http://agylen.com/
Source.zone: http://sourcezone.info/
Wine & Food Blog: http://www.divinocibo.it/

Re: CAPTCHA for CForms validation

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Ugo Cei wrote:
> If my memory doesn't fail me, someone (Tony?) wrote an "Image 
> authenticator" sample some time ago, but I cannot find it anymore. That 
> could be a starting point.

http://svn.apache.org/repos/asf/cocoon/blocks/unsupported/scratchpad/trunk/samples/image-auth/

Vadim

Re: CAPTCHA for CForms validation

Posted by Ugo Cei <ug...@apache.org>.
Il giorno 16/mag/05, alle 17:26, Bertrand Delacretaz ha scritto:

> Le 16 mai 05, à 11:41, Ugo Cei a écrit :
>> ..Before I start coding, has anyone done something like this before?..
>
> I had http://jcaptcha.sourceforge.net/ in my bookmarks. it might help. 
> Haven't used it, but examples look interesting.
>
> -Bertrand
>

http://agylen.com/2005/05/16/captcha-validator-for-cocoon-forms/

	:)

		Ugo

-- 
Ugo Cei
Tech Blog: http://agylen.com/
Source.zone: http://sourcezone.info/
Wine & Food Blog: http://www.divinocibo.it/

Re: CAPTCHA for CForms validation

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 16 mai 05, à 11:41, Ugo Cei a écrit :
> ..Before I start coding, has anyone done something like this before?..

I had http://jcaptcha.sourceforge.net/ in my bookmarks. it might help. 
Haven't used it, but examples look interesting.

-Bertrand