how to stop spam

Discussion in 'ASP General' started by c676228, Apr 22, 2008.

  1. c676228

    c676228 Guest

    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
    c676228, Apr 22, 2008
    #1
    1. Advertising

  2. "c676228" <> wrote in message
    news:...
    > 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
    Mike Brind [MVP], Apr 22, 2008
    #2
    1. Advertising

  3. 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:
    .

    ==================================================
    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.

    --------------------
    >Thread-Topic: how to stop spam
    >thread-index: AcikOlQ2wMX/x+zdRfmMC5Huq98utg==
    >X-WBNR-Posting-Host: 64.85.224.157
    >From: =?Utf-8?B?YzY3NjIyOA==?= <>
    >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
    >
    Steven Cheng [MSFT], Apr 22, 2008
    #3
  4. c676228

    Ted Dawson Guest

    >> 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.
    Ted Dawson, Apr 23, 2008
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rene Pijlman
    Replies:
    22
    Views:
    728
    Fredrik Lundh
    Dec 10, 2003
  2. Sergio Correia
    Replies:
    7
    Views:
    292
    Ben Finney
    Sep 18, 2007
  3. Replies:
    3
    Views:
    497
  4. zax75
    Replies:
    1
    Views:
    1,096
  5. David Binnie
    Replies:
    2
    Views:
    450
    Rich Webb
    May 22, 2009
Loading...

Share This Page