i wrote a captcha system in python using the turbogears framework and the python imaging library

it basically just creates an image/validation scheme based on a few variables that is passed into the object -> site secret , user seed , expiry time built into a key generator it's also with a clustered behavior - images are never saved to disk, they're always rendered on-the-fly. if you want one-time use captchas, you'd have to 'clear' them through a db beforehand -- otherwise no db is really necessary

its designed so that the 'image' is a subclass of the captcha -- other subclasses can be audio or text formulas "type the second word in this sentence" "type out four minus three" etc. simpler put: the main captcha class handles actually creating captchas and validating user input , and its up to the user to choose how to display it ( which is different than most of the captcha systems out there that go for an image then backtrack to creating other formats )

i'm currently migrating it fully into modperl using imager... it would be very much like GD::SecurityImage, but use imager ( i don't want to have GD compilied in) and i need some open standards /hooks on how it creates/validates a captcha, so the same thing can work with python and php

i'm about 2/3 of the way through porting this... however when its done its going to be very much tailored to my style of coding, and my framework, and use conventions that would make some cringe.

i'd like to make this cpanable so other modperlers can use it - would anyone on the list be interested in collaborating with me, and help make it more standardized and cpanable? i don't have the time/energy to do that myself.

i'd also like to make this as optimized as possible since there's a lot of image generation etc - which means if some processing can be saved by using some mp only things over perl conventions -- so be it.

fwiw, the python version and some samples is here:
        http://dev.2xlp.com/trac/browser/another_python_captcha/trunk

if anyone is interested, please contact me offlist -- thanks.


| - - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -



Reply via email to