PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 30th, 2007, 12:31 PM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 6
Form validation against spammers

Hi

Does anyone know what the form validation component is called that asks you type what you see in alphanumeric characters that look like they're underwater, to prevent automated spammers abusing your input forms. It forces human input in filling in the forms. I have increasing number of spammers on my site, and although the information goes into an offline database for me to check and then to put online, they seem undeterred. If I had the name for it, I'll do a google on it and work out a way to do check info using php.

Cheers

Reply With Quote
  #2  
Old August 30th, 2007, 05:15 PM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 6
The feature I am looking for is captcha which stands for "Completely Automated Public Turning test to tell Computers and Humans Apart"!

There is a little about it here

http://forums.devshed.com/dev-shed-lounge-26/generating-images-for-human-only-form-validation-114325.html

and here

http://www.interaktonline.com/Products/Dreamweaver-Extensions/FormValidation/Product-Forum/Details/82933/Form+validation+with+security+word+%252F+random+se cuity+image.html

I suppose the MadCow is on vacation! This place isn't like what it used to be! I had to answer my own question.

Bye all

Reply With Quote
  #3  
Old August 31st, 2007, 02:42 AM
Humanetainit's Avatar
Humanetainit Humanetainit is offline
Beyond help
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Location: The Netherlands
Posts: 223 Humanetainit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 32 m 30 sec
Reputation Power: 4
Well, sorry, but it's night-time over here.

CAPTCHA is not without its drawbacks. There are other Turing tests that work nearly as good. But always remember: there are sweatshops with people typing CAPTCHA's all day long, and there are many OCR programs that can decipher 90% of the CAPTCHA's.

Best way is use multiple techniques and obfuscate them. Think of your own and don't disclose them.

Some of them I like and are well-known, so I'll repeat them.

Tokenize all your forms. generate a md5 out of a random large number, send this along with your form in a hidden field. Also set a session variable with the same value. Check them after the post, if they differ, the post came from a different server. Adds security, too (XSS)!

Check the IP and user agent. They should be identical before and after the post.

Add a normal field, but hide it with css. Label it with something interesting like URL. A normal visitor will not see it, and leave it blank. A robot on the other hand will fill the field in greedily and fall in the trap we set for him. We log the attempt, but discard the spam.

Record the time between pageload and submitting. There should be at least several seconds fill-in time per field. A spambot fills the form instantly and gets caught red handed.

But it's all no use to post your ideas on a forum that is accessible to spambot authors. Unless it's really foolproof, but that is unlikely as long as there are sweatshops...
__________________
One World... Humanetainit | Program secure

Last edited by Humanetainit : August 31st, 2007 at 06:29 AM.

Reply With Quote
  #4  
Old August 31st, 2007, 01:27 PM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 6
Thanks Humanetainit

I wasn't being serious about the answering thing and if you are in Holland, there is only 1 hour difference to the UK, so I don't think you were quite tucked up in bed!

That is very interesting about the time difference in a spambot and a human filling in a form. One would be able to filter out spamming for sure.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Form validation against spammers


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek