PDA

View Full Version : Concealing emails in ASP


Cam
03-10-2003, 01:21 AM
Hi

Stupid question (I'm new to ASP). Are email addresses pulled from a db in ASP concealed from spiders?

I've been using js to conceal email addresses, but its getting to be a pain.

Just wondering if this would work.

Cheers

Cam

whammy
03-10-2003, 02:50 AM
Nope, if you are still displaying the email addresses on a webpage (without using some form of deception/encryption), then they can be spidered.

ASP sends pure HTML to the client (user's) computer after it's processed. The best way to understand that is to look at the HTML that is produced yourself. ;)

Cam
03-10-2003, 03:18 AM
Thanks Whammy

I wasn't sure where in the process a spider went through the page; if it read the raw ASP file or the processed html file...

Ah well...

Cheers

Cam

Morgoth
03-10-2003, 03:23 AM
Just a little way of hiding it for any reason.
You could make the e-mails visable, but not read by bots.

Example: "alex AT threefish DOT ca"

You know what it means, but a spider/bot (depending on how smart it was made) will pass by it as text.

raf
03-10-2003, 07:46 AM
or automatielly create an image with the adress as text. it's sometimes done to send a pasword to a new user, sine it gives the info without a textual representation in your code. here are some threads on building images:

http://www.codingforums.com/search.php?s=&action=showresults&searchid=90323&sortby=&sortorder=

Morgoth
03-10-2003, 08:43 AM
That search link could of been more exact, don't you think raf?

By image, do you mean somehting like:
http://24.226.62.28/ei.asp?email=YOUR@EMAIL.COM

raf
03-10-2003, 08:56 AM
Double right.

It could have been more exact, but ...
- i'm not perfect
- i don't have a lot of time (i'm at work)
- i'm not a searcengine and was just pointing out a possible sollution.
- Cam might decide to take another sollution (so i don't want to spent to much time on it)
- Even if he chooses this sollution, he might know how to do it just like that (don't underestimate him !)
- Or, if he doesn't know, he could always run a search (which more people should do, by the way ...)
("Better to teach someone how to fish then to give him a fish" and this was my semi-boudhist way to point him in the 'right' direction (in more then one way))

So Cam, sory for the non-perfect help from me.

And Morgoth, indeed; your link points to a page with the functionality i was refering to.

Morgoth
03-10-2003, 09:14 AM
;)

Cam
03-10-2003, 05:57 PM
Hey folks

Thanks for the comments.

I've been using the Hivelogic javascript generator and calling external scripts for each address into the document. I use images in noscripts to deal with folks who turn off their js. It's a bit of a pain and I have to be careful that the image size doesn't throw off the formatting of the pain for inline links. I was hoping that there was a better solution.

For anyone who's interested:

http://www.hiveware.com/enkode_tool.php
http://www.evolt.org/article/Spam_Proofing_Your_Website/20/41849/index.html

Cheers

Cam :)