Fork of plone.formwidget.captcha with a French translation
This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Timo Stollenwerk c0a14efbb1 Fix verify method for empty string input values. This is necessary for plone.app.discussion 1.0b5 compatibility.
svn path=/plone.formwidget.captcha/trunk/; revision=37130
2010-06-10 09:07:11 +00:00
docs Updated package metadata and marked this as a Plone add-on. 2010-01-27 15:04:36 +00:00
plone Fix verify method for empty string input values. This is necessary for plone.app.discussion 1.0b5 compatibility. 2010-06-10 09:07:11 +00:00
CHANGES.txt Fix verify method for empty string input values. This is necessary for plone.app.discussion 1.0b5 compatibility. 2010-06-10 09:07:11 +00:00
README.txt README and setup prepared for first release. 2009-08-28 15:58:47 +00:00
bootstrap.py Added test buildouts. 2010-05-28 16:54:54 +00:00
buildout.cfg Added test buildouts. 2010-05-28 16:54:54 +00:00
pypi_upload.sh pypi upload script added. 2009-08-28 15:59:05 +00:00
setup.py Fix verify method for empty string input values. This is necessary for plone.app.discussion 1.0b5 compatibility. 2010-06-10 09:07:11 +00:00
test-plone-3.3.x.cfg Added test buildouts. 2010-05-28 16:54:54 +00:00
test-plone-4.0.x.cfg Added test buildouts. 2010-05-28 16:54:54 +00:00

README.txt

Introduction
============

plone.formwidget.captcha is a z3c.form captcha widget for use with Plone. It is
a z3c.form re-implementation of the `collective.captcha` package written by
Martijn Pieters.

.. _collective.captcha: http://pypi.python.org/pypi/collective.captcha

Buildout Installation
---------------------

Add the following code to your buildout.cfg to install plone.formwidget.captcha::

    [buildout]
    ...
    eggs =
        ...
        plone.formwidget.captcha
        ...

    ...
    [instance]
    ...
    zcml =
        ...
        plone.formwidget.captcha
    ...


Captchas without server state
-----------------------------

(From collective.captcha)

A view to generate a captcha image and/or wav file, and to verify user input
against it.

A cookie is used to transfer state from one request to the next. The state is
used, together with a server-side secret, to create a random string of
characters, which in turn is displayed as a captcha image, or transformed to
an audio file. Verification happens case-insensitively.

Note that the captcha 'word' is only usable for 5-10 minutes, after which the
view will not accept it any more. Moreover, a different word will be generated
for a given session key every 5 minutes.

This makes these captchas replayable for up to 10 minutes if a determined
user keeps sending the same session id. Because of the server-secret though,
captchas are not transferrable between sites.