Skip to main content

CAPTCHA alternative for Plone 3.x

Project description

Introduction
============
CAPTCHA has a number of disadvantages such as usability and possibly the false sense of security. As white papers documenting the easy cracking of CAPTCHA become more prevalent, the security issues have been growing in concern.

Humanator relies on a different method of determining if the user is human or not. Rather than rely on images (and audio), the humanator widget asks the user questions such as::

What is six plus 9?

Type the word 'human' in all capital letters.

What is the best programming language of all time?

The user provides the correct answer and the form is then validated.

These questions are created by the content editor and are stored as a custom content object simply called HumanatorQuestions. The widget does a randomized portal catalog search against published HumanatorQuestions and serves that to the user.

Products.humanator has no dependencies.

Basic Usage - Creating Questions
================================

Managing questions is simple:

1. Install Humanator (see below).
2. Inside a Plone folder create a HumanatorFolder.
3. Inside a HumanatorFolder add a HumanatorQuestion (including an answer).
4. Publish the new HumanatorQuestion.

Basic Usage - Adding to a form
================================

Should work following this pattern::

from zope.interface import Interface
from zope.schema import TextLine
from Products.humanator.form import Humanator

class ITestForm(Interface):
"""
Test form
"""

name = TextLine(title=_(u'Name'),
description=_(u'Your name'),
required=True)

humanator = Humanator(title = _('Answer the following question'),
description = _('Humanity Check'))

----

Installing Humanator
====================

This package requires Plone 3.x or later.

Installing without buildout
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Install this package in either your system path packages or in the lib/python
directory of your Zope instance. You can do this using either easy_install or
via the setup.py script.

After installing the package it needs to be registered in your Zope instance.
This can be done by putting a Products.humanator-configure.zcml file in the
etc/package-includes directory with this content::

<include package="Products.humanator" />

or, alternatively, you can add that line to the configure.zcml in a package or
Product that is already registered.

Installing with buildout
~~~~~~~~~~~~~~~~~~~~~~~~

If you are using `buildout`_ to manage your instance installing
collective.captcha is even simpler. You can install collective.captcha by
adding it to the eggs line for your instance::

[instance]
eggs = Products.humanator
zcml = Products.humanator

The last line tells buildout to generate a zcml snippet that tells Zope
to configure Products.humanator.

If another package depends on the Products.humanator egg or includes its zcml
directly you do not need to specify anything in the buildout configuration:
buildout will detect this automatically.

After updating the configuration you need to run the ''bin/buildout'', which
will take care of updating your system.

.. _buildout: http://pypi.python.org/pypi/zc.buildout


Changelog
=========

0.6.1 - MANIFEST
----------------------

* Including zcml and profiles


0.6 - Egg fixes
----------------------

* Simple changes

0.5 - first published
---------------------

* Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.humanator-0.6.1.tar.gz (18.4 kB view details)

Uploaded Source

File details

Details for the file Products.humanator-0.6.1.tar.gz.

File metadata

File hashes

Hashes for Products.humanator-0.6.1.tar.gz
Algorithm Hash digest
SHA256 e1196ba351a62d56d4910e32f20f4c628c1a6babeb5092549b1fd1ff37891200
MD5 73b2661b40c4c2e9b72a614346dd2b35
BLAKE2b-256 788274317e524baf7652da912c109c9a8323287c66ff3e495d053e7ec2718681

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page