Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > how to stop spam

Reply
Thread Tools

how to stop spam

 
 
c676228
Guest
Posts: n/a
 
      04-22-2008
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
 
Reply With Quote
 
 
 
 
Mike Brind [MVP]
Guest
Posts: n/a
 
      04-22-2008

"c676228" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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


 
Reply With Quote
 
 
 
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      04-22-2008
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:
http://www.velocityreviews.com/forums/(E-Mail Removed).

==================================================
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==?= <(E-Mail Removed)>
>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
>


 
Reply With Quote
 
Ted Dawson
Guest
Posts: n/a
 
      04-23-2008
>> 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM



Advertisments