Extension Text-Based CAPTCHA


Extension Basics

Title
Text-Based CAPTCHA
Name
ckanext-textcaptcha
Type
Public extension
Description
Text-based captcha for user registration using textcaptcha.com
CKAN versions
Download-Url (zip)
Download-Url commit date
2023-08-25
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

A text-based CAPTCHA extension for CKAN user registration form that integrates with the textcaptcha.com API service. Instead of traditional image-based CAPTCHAs, this extension presents users with simple text-based questions (e.g., ‘What color is the sky?’) to verify human interaction. The extension was tested with CKAN 2.3 and 2.4 and provides a more accessible alternative to visual CAPTCHAs. Requires registration with textcaptcha.com to obtain an API endpoint URL. The extension is lightweight with ckanapi as its only dependency and can be easily integrated into existing CKAN installations to add basic bot protection to the registration process.

Version
1.0.0
Version release date
2023-08-25
Contact name
LinkDigital
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Installation: python setup.py install. Add ‘textcaptcha’ to ckan.plugins in your CKAN configuration (typically /etc/ckan/default/production.ini). Configuration: ckan.textcaptcha.url = http://api.textcaptcha.com/YOUR_EMAIL.json (required - textcaptcha API URL with your email). Registration: Visit textcaptcha.com to register and get your API endpoint. How It Works: Extension adds text-based questions to user registration form, users must answer correctly to verify they’re human. Accessibility: More accessible than image-based CAPTCHAs for visually impaired users. Dependencies: ckanapi. Tested with CKAN 2.3 and 2.4. Development: python setup.py develop for editable installation. Restart CKAN after installation: sudo service apache2 reload (Ubuntu/Apache). License: AGPL v3.0, Copyright 2015 Link Web Services Pty Ltd.

Plugins to configure (ckan.ini)
textcaptcha
CKAN Settings (ckan.ini)
# ckan.textcaptcha.url = http://api.textcaptcha.com/YOUR_EMAIL.json
DB migration to be executed
(not set)
<< back to Extensions