Page 1 of 1

Security text vs. Security image

Posted: Tue May 09, 2006 9:01 pm
by zr
Script URL:
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try: "Security"

Write your message below:

I just have a general question.

On many sites (even the contact page) security codes to block spam are displayed as an image. But all of the scripts here have the security code displayed as text. I haven't had any problems with the security code, but I'm just curious. Is the image more secure than the text :?:

Btw: very nice site and very useful scripts. Nicely done! :D :D

Posted: Sat May 13, 2006 1:03 pm
by Klemen
Hi,

Sorry for the late reply, didn't notice your question.

In terms of how hard they are to break security codes displayed in images are better as they are harder to read by software. However, note that I must keep the scripts compatible with as many servers as possible and the image generated only work on servers with PHP GD library installed (many hosts don't have it). The text number works well at the moment and I have yet to discover a spambot that would actually go through my script's signup pages step-by-step and extract the number. The idea of security images is to prevent bots from posting data (and like said I didn't yet note any that would actually read the text one), if the spammer is an actual person who visits your site it doesn't matter if it is image or text.

I do plan to add image codes in the future, but text codes will always be there as an option for those less fortunate with their hosting companies :wink:

Regards

Posted: Tue Apr 01, 2008 4:24 am
by DC
You can build in a quick check for GD support and if they have it it uses the more secure image turing and if not it can default to your text version that way no one is left out in the cold thats my solution ...

DC