473,800 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3690

"c676228" <be***@newsgrou p.nospamwrote in message
news:59******** *************** ***********@mic rosoft.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****@microsof t.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+zdRfmMC5Huq98 utg==
X-WBNR-Posting-Host: 64.85.224.157
From: =?Utf-8?B?YzY3NjIyOA= =?= <be***@newsgrou p.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.redire ct 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.comw rote in message
news:Fw******** ******@TK2MSFTN GHUB02.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
3053
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 Hall
8
2424
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, what I was wondering was whether this would still be the best practice for this quantity of stop words? There is a larger over head in me defining the array initially as I will have to hard code them all in, alternatively I thought I could import...
45
2776
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 been repeated for years and years now. Result: Unfortunately nada. He just doesn't give a shit. He is only very offensive in his answers to these requests. Also he has been 'kill-filed' by many of us. Result: Nada. He did not get enough answers...
2
6137
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 page has finished loading?
4
19429
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 are my string points. I am trying to debug a project, in VB.NET i could put in a "Stop" statement to make the debugger stop at that point, then i could use F10 and F11 to step through the code.
26
4704
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
2549
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 Bank of America, theres a short wait, BofA sends back some xml, and on to the next page. Sometimes, though, BofA is slow and the students get impatient, clicking twice or even more. They get charged each time they click. We have a warning...
7
2365
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 http://www.dotnetmonster.com
3
3239
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 the SQL execution in server continue or immediately stop.If it still continue how I can stop the execution (by disconnecting the present database connection ???). Please help.
0
9551
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10507
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10255
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10036
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9092
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6815
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5607
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4150
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3765
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.