On Monday, Nov 10, 2003, at 22:49 US/Pacific, Ramprasad A Padmanabhan wrote:
[..]
Or should I write a jpg genertor using something like gd and
create a database of images and the actual numbers they contain
[..]

I personally do not know of any specific perl module
that will generate the image on the fly. You would
not need to have many of them, since the idea you are
working with is to prevent a single event - namely
an automatic registration.

You could make the images with all sorts of tools,
including PowerPointPresentation, and then save them
as a jpeg, gif, png. Just make sure that the 'key' -
which can be letters and numbers, will stand out cleanly
in your 'image' - the 'red/green' colour blind will have
problems with various patterns and will not be able to
see the 'key'.

Then all you have to do is stuff a 'hidden value' in
the form data that is YOUR key about which image you
sent out, and if the response is not the same value
as the 'key' returned - then.... send them back a
page noting that you can not fill it in.

{ you could of course do some javascripting, but that
would also open the hole that if you send the 'key'
'1234' the javascript will have the comparator in plain text'. }

So your level of 'security' is well, amusing at
which ever level you want to put it.



ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to