Security text vs. Security image

All other scripts belong here
Post Reply
zr
Posts: 6
Joined: Sat May 06, 2006 10:40 pm

Security text vs. Security image

Post 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
Klemen
Site Admin
Posts: 10114
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
DC
Posts: 138
Joined: Sun Dec 09, 2007 9:28 am

Post 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
To Code Or Not To Code That Is The Question?

Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Post Reply