It's not a secret anymore!
The moose likes General Computing and the fly likes thwarting email harvesters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "thwarting email harvesters" Watch "thwarting email harvesters" New topic

thwarting email harvesters

Pauline McNamara

Joined: Jan 19, 2001
Posts: 4012
Anyone have any success stories to tell about how they went about preventing spammers from harvesting email addresses (through scripting, images of email address, writing "at" instead of "@", etc.)?
At work we've had a request from someone to replace their address with an image. If we did this for all the addresses on the site we'd have a bunch of work. Anyone experienced any disadvantages of scripting?

Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
I haven't done this, but it seems like it could work:
Do you know how to script a simple contact form? Like when the site user goes to the Contact Us page, they can type their question and hit submit, and behind the scenes that post gets sent to an email address that the user never finds out about.
Well, how about for all the addresses throughout the site, you made them links with the visible text being the people's names or some kinds of IDs that wouldn't help a spammer know anything about their email addresses, and when a user clicks on any of these links, it takes them to a page with a Contact form, but the form has the idea of the "referring link" as a hidden input in the page, so that when the form gets posted you can figure out which email address to send it to.
I think I'd do this if I had my own huge company website to work with.
I agree. Here's the link:
subject: thwarting email harvesters
It's not a secret anymore!