• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

User validation

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In some websites (let's take yahoo mail for example), when we want to register as new user, the site (yahoo) give us a distorted image, and we must enter string in that distorted image to validate us.

Actually, what is it for?I suggest that's for security (maybe to avoid something like "auto-register-bot"?). Am I correct?

What is the logic behind such a security prevention? How can we implement it using JSF?

Thanks
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are correct. Image-based verification is designed to keep bots out by requiring human intelligence.

Generation of one of these images isn't strictly a JSF issue - all you really need is an image generator and a place to keep the value that you'll check the returned data against. Whether there are any JSF-specific implementations of this function, I don't know.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
they are called captchas... :-)
 
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Timotius Pamungkas:
In some websites (let's take yahoo mail for example), when we want to register as new user, the site (yahoo) give us a distorted image, and we must enter string in that distorted image to validate us.

Actually, what is it for?I suggest that's for security (maybe to avoid something like "auto-register-bot"?). Am I correct?

What is the logic behind such a security prevention? How can we implement it using JSF?

Thanks



You can implement it using Jboss Richfaces
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic