how to stop spam

C

c676228

Hi all,

We have many forms on our site that users can fill out and ask questions,
request information etc. but somehow, we receive a lot of junk mails (more
than two hundreds) within two weeks through these forms.
I don't know hot to stop these junk emails.
Can you provide some ideas and ways to implement?
thank you so much.
 
M

Mike Brind [MVP]

c676228 said:
Hi all,

We have many forms on our site that users can fill out and ask questions,
request information etc. but somehow, we receive a lot of junk mails (more
than two hundreds) within two weeks through these forms.
I don't know hot to stop these junk emails.
Can you provide some ideas and ways to implement?
thank you so much.

You can use Captcha (Google ASP -NET Captcha), or a simpler method that
works on one of my sites is to randomly generate 2 digits, then save the sum
of the digits in a session variable, then provide a form input for users to
enter the sum. Compare the entry to the session variable, and if they are
the same, process the entry.
 
S

Steven Cheng [MSFT]

Hi Betty,

As Mike has suggested, the popular means to prevent spam(machine generated
post ) is through some image based validation(the captcha as Mike mentioned)

http://recaptcha.net/captcha.html

in classic ASP pages, you may need to write a COM component(via VB ) which
can programmtically generate some image(that display some digits) and let
the user input those digits as validation code. The server-side can compare
the validation code with the server cache(in session) to ensure the request
is post by human interactively rather than machine generated code.

Here are some reference about such validation in classic ASP:

http://www.u229.no/stuff/Captcha/

http://www.rodsdot.com/ee/dynamicImage.asp

http://www.tipstricks.org/

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 
T

Ted Dawson

We have many forms on our site that users can fill out and ask questions,
You can use Captcha (Google ASP -NET Captcha), or a simpler method that
works on one of my sites is to randomly generate 2 digits, then save the
sum of the digits in a session variable, then provide a form input for
users to enter the sum. Compare the entry to the session variable, and if
they are the same, process the entry.



Here's an easier way: Give them a word and tell them to type it in the box.
"Enter the word HELLO in this box."
If the box doesn't have HELLO or hello, response.redirect right back to the
form.

This method has stopped 100% of the form spam from all my sites.
 

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,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top