Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

Need a random image warp to defeat web bots

Thread view: 
christopher@dailycrossword.com - 16 Feb 2007 18:59 GMT
Greetings!
I need a simple random image warp to defeat bots on a web email form
-- I am getting a hundred spams a day!  I have looked at
http://www.jhlabs.com/ip/filters/ but there is no documentation and I
can't see how to use the classes, and java advanced imaging ( http://
java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/
index.html ) but I don't have a clue what lines like this mean:
"Computes the source subpixel positions for a given rectangular
destination region, subsampled with an integral period."
Sigh.

Surely someone has done the gunt work on this and is willing to share.

Thanx!
-- clh
Chris Uppal - 16 Feb 2007 19:18 GMT
> I need a simple random image warp to defeat bots on a web email form
> -- I am getting a hundred spams a day!  I have looked at [...]

It might be worthwhile Googling for something like
   java captcha generator
which seems to throw up some promising hits.

BTW, if your email address is indicative, it would be more appropriate to ask
each email submitter to solve a randomly choosen crossword clue ;-)

   -- chris
christopher@dailycrossword.com - 16 Feb 2007 19:34 GMT
thanx -- i did not know the term.  the website is ancient, but so is
my google groups login hehe, and that is the *best* way to cut down
spam!

this looks promising:
http://simplecaptcha.sourceforge.net/

cheers!

On Feb 16, 11:18 am, "Chris Uppal" <chris.up...@metagnostic.REMOVE-
THIS.org> wrote:
> christop...@dailycrossword.com wrote:
> > I need a simple random image warp to defeat bots on a web email form
[quoted text clipped - 8 lines]
>
>     -- chris
Richter~9.6 - 16 Feb 2007 20:05 GMT
On Feb 16, 7:18 pm, "Chris Uppal" <chris.up...@metagnostic.REMOVE-
THIS.org> wrote:
> christop...@dailycrossword.com wrote:
> > I need a simple random image warp to defeat bots on a web email form
[quoted text clipped - 8 lines]
>
>     -- chris

The problem with captcha is that it shifts the burden of spam from the
webmaster onto the visitor. As a visitor it can be very annoying
trying to post a quick comment to a blog and having to do silly
puzzles or work out what warped obscure letters are...

A better solution would be to write your form into the page using
JavaScript (replacing the capture form possibly?) ... that way you
stop a large amount of spam because most harvesters just scan the html
for certain form tags - i.e. no parsing of JavaScript. If you really
wanted to keep out the spambots, add an onclick event to a 'button'
image to display the form instead. That way you also avoid spambots
that know how to parse JavaScript but might not know how to click an
image.

As a last resort, if the user has JavaScript turned off then the
captcha stuff is displayed (because the JavaScript would replace the
captcha form if it was enabled)...

Hope this helps.

Regards,
Richard
christopher@dailycrossword.com - 16 Feb 2007 21:24 GMT
Richard -- fabulous input.
I was just going to post that the sourceforge captcha program requires
a GIU to be running (which of course on my server there is not),
because I guess somthing they were doing came from the AWT toolbox.
The dreaded "Can't connect to X11 window server using ':0.0' as the
value of the DISPLAY variable" after taking 1/2 hour to realize the
configuration info for the web.xml file was not suitable for my
setup.  *sigh*

> A better solution would be to write your form into the page using
> JavaScript (replacing the capture form possibly?) ... that way you
[quoted text clipped - 4 lines]
> that know how to parse JavaScript but might not know how to click an
> image.

I was just going to use the captcha for emails to the admin, but your
suggestion to bury the 'human confirmation' elsewhere on the page can
be used for any form / chat / forum entry.  hehe how about an
onSubmit() popup that says 'click here is you are a human'.  Can a bot
do that?
Daniel Pitts - 17 Feb 2007 00:50 GMT
On Feb 16, 1:24 pm, christop...@dailycrossword.com wrote:
> Richard -- fabulous input.
> I was just going to post that the sourceforge captcha program requires
[quoted text clipped - 19 lines]
> onSubmit() popup that says 'click here is you are a human'.  Can a bot
> do that?

The answer is, "not yet".
The problem with all of this is that Spammers are getting smarter and
smarter.  Some simple Capcha is thwarted by OCR technology.  And some
Capcha is hard for me to read :-)
Lew - 17 Feb 2007 04:53 GMT
> The problem with all of this is that Spammers are getting smarter and
> smarter.  Some simple Capcha is thwarted by OCR technology.  And some
> Capcha is hard for me to read :-)

And all this time I thought all these web sites were running color-blindness
tests.

- Lew


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.