473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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 3674

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Chris Hall | last post by:
Hello, Any one got any good ideas or where to look for solutions how to stop multiple log ins with the same username? I am using mysql database if that makes a difference. Cheers Chris...
8
by: Rob Meade | last post by:
Lo all, Ok - I'm adding site search functionality to a database driven website. I have a list of 390 stop/ignore words, having looked at ASPFAQ already I see that the example uses an array,...
45
by: StopThisAdvertising | last post by:
Hi there, We all know Steve Santos. He *really* is an advertising and job-hunting machine. A lot of us have asked him *many* times and in different ways to stop his blatant advertising. This has...
2
by: Gav | last post by:
is it possible to put something in the pageload event to stop the page rendering the rest of the page. or to tell the browser to execute the html that it already has instead of wating until the...
4
by: DKode | last post by:
Hello, I have been using VB.NET for about 5 months and now I decided it's time to start using C#.NET because I like the syntax setup alot more, because it more closely resembles php/perl which...
26
by: Ricardo | last post by:
I made a program that generate random numbers and put it in a listbox when the user click go. The problem is: how can i made a button stop, to stop the method that is running??? s...
10
by: Jim Bayers | last post by:
We need to stop students from clicking on the form button more than once. We have a form that students fill out with their credit card information. They click, the form sends the data in xml to...
7
by: dotnetprogrammer via DotNetMonster.com | last post by:
I have an NT Service written in c# (.net framwork 2.0). When it hits a certain error condition, I want it to be to cause itself to stop. How can I do this? -- Message posted via...
3
by: =?Utf-8?B?UmludSBHb3BhbGFrcmlzaG5hIFBpbGxhaQ==?= | last post by:
Hi All, I have a ASP/C# application that connect to Oracle database . After issuing my SQL query if I close the browser or move into another page ( ie whle executing in the databse serevr) will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.