468,770 Members | 2,129 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,770 developers. It's quick & easy.

how to stop spam

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.
--
Betty
Jun 27 '08 #1
4 3445

"c676228" <be***@newsgroup.nospamwrote in message
news:59**********************************@microsof t.com...
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.
--
Betty
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.

--
Mike Brind
Microsoft MVP - ASP/ASP.NET
Jun 27 '08 #2
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:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Thread-Topic: how to stop spam
thread-index: AcikOlQ2wMX/x+zdRfmMC5Huq98utg==
X-WBNR-Posting-Host: 64.85.224.157
From: =?Utf-8?B?YzY3NjIyOA==?= <be***@newsgroup.nospam>
Subject: how to stop spam
Date: Mon, 21 Apr 2008 22:33:00 -0700
>
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.
--
Betty
Jun 27 '08 #3
>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.
--
Betty

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.

Jun 27 '08 #4
"Steven Cheng [MSFT]" <st*****@online.microsoft.comwrote in message
news:Fw**************@TK2MSFTNGHUB02.phx.gbl...
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
[snip]

Maybe not...

Gone in 60 seconds: Spambot cracks Live Hotmail CAPTCHA
http://arstechnica.com/news.ars/post...ds-spambot-cra
cks-livehotmail-captcha.html
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Chris Hall | last post: by
45 posts views Thread by StopThisAdvertising | last post: by
2 posts views Thread by Gav | last post: by
26 posts views Thread by Ricardo | last post: by
10 posts views Thread by Jim Bayers | last post: by
7 posts views Thread by dotnetprogrammer via DotNetMonster.com | last post: by
3 posts views Thread by =?Utf-8?B?UmludSBHb3BhbGFrcmlzaG5hIFBpbGxhaQ==?= | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.