About

I'm Mike Pope. I live in the Seattle area. I've been a technical writer and editor for over 35 years. I'm interested in software, language, music, movies, books, motorcycles, travel, and ... well, lots of stuff.

Read more ...

Blog Search


(Supports AND)

Feed

Subscribe to the RSS feed for this blog.

See this post for info on full versus truncated feeds.

Quote

One of the things that draws writers to writing is that they can get things right that they got wrong in real life by writing about them.

— Tobias Wolff



Navigation





<March 2025>
SMTWTFS
2324252627281
2345678
9101112131415
16171819202122
23242526272829
303112345

Categories

  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  

Contact Me

Email me

Blog Statistics

Dates
First entry - 6/27/2003
Most recent entry - 9/4/2024

Totals
Posts - 2655
Comments - 2678
Hits - 2,731,119

Averages
Entries/day - 0.33
Comments/entry - 1.01
Hits/day - 344

Updated every 30 minutes. Last: 1:56 PM Pacific


  08:43 AM

Jeff Atwood has made available a custom ASP.NET server contol (source included) that implements CAPTCHA anti-bot protection to Web pages. A canonical use would be to add the control to your blog comment submission page; users have to type in a sequence of characters generated by the control in order for the post to be submitted. Like this:



(That's an image of the control, not the control itself.)

As he promises in his post, it's easy to use -- add as a custom control to your site/project, add an element to your Web.config, and go. The control does all the work of generating the image and checking it on postback. As with validators, all you have to do is test the control's UserValidated property to determine whether the user got it right.

My only issue with CAPTCHA generally is that the algorithm used to distort the secret text sometimes warps it so much that it can be hard to make out the characters. However, that's an issue with the way the image generation works (and I've seen this in other examples of the same technique), not any criticism of the control itself.

[categories]  

[3] |