Print Page | Close Window

ASP form and SPAM

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=3115
Printed Date: 29 March 2026 at 12:01pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP form and SPAM
Posted By: Forestinternet
Subject: ASP form and SPAM
Date Posted: 29 May 2003 at 8:56am

I use Bruce's excellent enquiry form and want to prevent SPAM harvesting.

Creating a send-email.asp file contains the email address(es) which could be harvested by email spammers.

But on View Source you can't see the email addresses.

Does this mean the spam harvesting robots can't either?

Or if they can see the email addresses in an asp file, does anyone know how to encrypt the email address? The methods I have tried so far don't work - the email doesn't get sent.

Thanks for any help



-------------
Laurence, Forest Internet



Replies:
Posted By: Scotty32
Date Posted: 29 May 2003 at 9:26am

am not sure wot you mean,

but am pretty sure "spammers" cant get ya email address if its only in the "<% ~ %>"

as the server takes it out

but wot script of borgs are you using? am not sure wot it is really



Posted By: michael
Date Posted: 29 May 2003 at 10:24am
If you are talking about the mailing list, it sends the email one by one so you would not see other email addys in the header

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: Forestinternet
Date Posted: 29 May 2003 at 11:06am

Thanks guys.

It would have been easier to give you the urls.
The form is here http://www.forest-design.net/form.htm - http://www.forest-design.net/form.htm

If you fill in the 3 reqd fields, press submit, the send-email.asp page appears. When you View Source on this page as Scotty_32
says above, the code between the "<% ~ %>" is not visible.
Does that mean spam harvesters can't see it either?

 

 



-------------
Laurence, Forest Internet


Posted By: Scotty32
Date Posted: 29 May 2003 at 11:11am

well as far as i know, theres no way you can view the source of ASP without gettin the file via FTP or any other way like that, which i doubt Spammers can do

have you had problems with Spammers?

or is this just a question asking if Spammers can get it?

if its just a question then... Nope, i doubt they can get it

if it has happened, then is the email address on any other pages?

also do you send out a "Auto-Responder"?

* EDIT *

ooh i might as well say that the reason you cant see the "<% ~ %>" is becose the Server takes it out while processing the page, then sends it to the Vistor, therefor the vistor only will get Straight HTML in there Browser

this is how Spammers cant get your email address if its in the <% ~ %>

but if you did say

<%
    dim email
    email = " mailto:myemail@mydomain.com - myemail@mydomain.com "
%>

<% Response.Write( email ) %>

then it will type out the email address into html so that wouldnt work

but if you just had your email address in the ASP Mailer Script, but didnt ask the Server to desply it, then it wouldnt show up..

if you do have to disply your email address

id say go to http://www.dynamicdrive.com - www.dynamicdrive.com and look for their thing that scrambles your email address up, so the Spam Bots cant get it
(but they'll probly find a way to)



Posted By: Gullanian
Date Posted: 29 May 2003 at 11:47am
just hardcode the email address you want to hide in the ASP code, you dont need to write it out anyway


Posted By: Scotty32
Date Posted: 29 May 2003 at 12:13pm

narr, am just sayin the only way you could get the email address out of the ASP is if you did a Response.Write

i think, how it is, s/hes ok



Posted By: fernan82
Date Posted: 30 May 2003 at 1:50pm

it's impossible to get the asp source code (anything inside <% %>) via HTTP unless anybody can manage to disable your server's asp.dll which is almost imposible on a well secured server. asp.dll processed the asp code and sends plain HTML to the client browser, if that file ever gets disabled it would show your asp code on the browser as if you were looking at it on notepad.



-------------
FeRnAN
http://www.danasoft.com/">



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net