• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Form flooding protection

 
Aymeric Levaux
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm looking for an API that generates image with a random number to display it in a form to check that a real user is filling this form (not a flooder)
Does any body knows about such an API (may be a custom tag ) ?

Thank You !
 
Pavel Cherkashin
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, It looks like you should implement it yourself.
I think these passages of code will help you:
The servlet code (in doGet method):



The getImage code - it generates BufferedImage,
which shows the fascia of percents passed in parameters
you can draw there digits, text, and other info,
which will be concerned with Session

 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For those coming in late, there is also a response in a (closed) duplicate thread here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic