What is the best way to hide email addresses in a web site from SpamBots?

M

Miguel Dias Moura

Hi,

i have some email addresses in a web site of a client.
Can you tell me what are the best ways to somehow hide the email addresses
from the SpamBots.

Can you give the a list of:
1. What To Do
2. What Not To Do

Thanks,
Miguel
 
C

clintonG

Using ISO-8859-1 encoding as the safemail.org sites generates is a
sham. The site should be taken down as it is probably a phishing hole
used to collect legitimate addresses from those who don't know
any better.

How do I know this? I've developed encoding schemes myself (years ago)
using Cold Fusion and ASP. I discovered that none of the browsers
I tested with can parse the mailto: protocol handler if it was encoded.
Thus, even scripts used by amateurs can find the mailto: and grab
any characters that follow and simply decode them. Its a piece of cake.

Using JavaScript to build the address dynamically is also a sham that to
my surprise is still being touted by developers that are supposed to know
better. Let me make it clear:

TEXT EMBEDDED IN THE BODY OF A WEB PAGE IS INSECURE

The JavaScript method is easily foiled by anybody that has 'screen scraping'
and 'regular expressions' scripts. Cheap Linux hack box harvesting farms
can be built from old machines for what? Under $100 a box if that?

At the moment, the only way to display an e-mail address in a web page
'securely' is to use an imaging methodology that requires a human operator
to read something and/or interact with a form.

Still, that is not really 'secure' but is 'presumed' to be an effective defense
as actually harvesting the address would require a human operator to see
and manually record the addresses one at a time. So, this method is
only as secure as the hassle factor allows.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/





Here is one option
http://www.safeemail.org/
though I believe as spambots get smarter, they'll eventually catch on.

You could also look at javascript email cloakers, there are many out there.

Also you could always just use an image to display your email, but I'd follow
this articles advice.
http://www.15seconds.com/issue/040202.htm
 
S

shalafi

the easiest, and the way i prefer since my site is so small... is to just
make a form to send an email to selected person. the real email address
doesnt get sent to the browser but contained on the server.

simplest solution IMHO...
 
Z

Zenobia

Hi,

i have some email addresses in a web site of a client.
Can you tell me what are the best ways to somehow hide the email addresses
from the SpamBots.

Can you give the a list of:
1. What To Do
2. What Not To Do

Thanks,
Miguel

a) This is the simple way of doing it: The javascript is placed
inline where your email link would be. This uses a combination
of the traditional javascript method with the suggestion Raterus
made.

<html>
<body>
<script language=javascript>
<!--
var username = "contact";
var hostname =
"mydomain.com";
var linktext = username + "@" + hostname;
document.write('<a href="' + 'mail' + 'to:' + username + '@' +
hostname + '">' + '<img src="email.gif" alt="'+linktext+'"
border="0" align="absbottom">' + "</a>")
//-->
</script>
</body>
</html>

You may want to leave out the alt attribute or put something
like "email contact" there instead.

A spam bot will either pick up the page display (which shows a
gif or the source code which shows javascript.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top