Quick BB
PHP 8.2+ & MySQL Buy license · $79.95
Spam & security

Forum CAPTCHA Guide: Choosing and Setting Up a CAPTCHA

How forum CAPTCHAs work, what makes one strong, where to show it, and how to keep it accessible so real people can still register.

Updated 4 minute read The Quick BB team

A CAPTCHA is a small test that tries to tell a person from an automated script before a form is accepted. On a forum it usually sits on the registration page and sometimes on guest posting or contact forms. This guide explains the main CAPTCHA types, what makes one strong or weak, and how to keep it accessible so you do not lock out the people you want to join.

What a CAPTCHA actually protects

Bots target forms that create content or accounts. The registration form is the most valuable to them, because one account can be used to post spam across many threads. A CAPTCHA raises the cost of each submission so that bulk sign-ups stop being worth it.

It is important to be realistic. A CAPTCHA stops simple and medium-quality bots. It does not stop a determined human spammer who registers by hand. That is why a CAPTCHA should be one layer among several, alongside honeypot fields, email verification, and link limits for new members. Our guide on how to stop forum spam registrations shows how the layers fit together.

Common types of CAPTCHA

TypeHow it worksMain trade-off
Image textVisitor types distorted characters shown in a pictureNeeds an accessible alternative for people who cannot see the image
Question and answerVisitor answers a simple question set by the ownerEasy to bypass once a spammer learns the answers for your site
Math problemVisitor solves a small sumTrivial for scripts that parse the question
Third-party challengeAn outside service scores the visitor or shows a puzzleSends visitor data to another company and adds an outside dependency
Invisible checksHoneypot fields and timing checks hidden from humansNo effort for people, but only catch less careful bots

Many forum owners prefer a challenge that runs entirely on their own server. It works even if an outside service is down, does not require a privacy notice about sharing visitor data with a third party, and keeps page loads simple.

What makes an image CAPTCHA strong

The image itself is only part of the story. Most weaknesses come from how the challenge is handled on the server. Look for these properties:

  • Enough characters. Longer codes are harder to guess. Quick BB uses 8 characters.
  • One-time use. Each code is valid for a single submission. A script cannot solve one challenge and reuse the answer a thousand times.
  • Expiry. Codes expire after a short time, so stored answers become useless.
  • Attempt limits. After a few wrong guesses the challenge is replaced, which stops brute-force guessing.
  • Server-side checking. The answer is checked on the server, never in the browser where a bot could read it.
  • A refresh button. If an image is hard to read, a person can get a new one instead of guessing.

Quick BB's built-in CAPTCHA has all of these and uses no outside service. It is turned on by default for new installs.

Make it accessible

An image-only test blocks people who are blind or have low vision, and some people with cognitive or motor disabilities struggle with distorted text. The Web Content Accessibility Guidelines (WCAG) address this directly. Success criterion 1.1.1 says a CAPTCHA should have a text alternative that describes its purpose, and that alternative forms of CAPTCHA using different types of sensory perception should be provided.

In practice that means:

  1. Label the field clearly, for example "Type the characters shown in the image to show you are not a bot."
  2. Offer an alternative challenge that does not depend on seeing the image. Quick BB includes an accessible alternative for this reason.
  3. Give people a way to contact you if they still cannot register, such as an email address on the registration page.
  4. Do not ask members who are already logged in and trusted to solve CAPTCHAs again. WCAG guidance also recommends not requiring CAPTCHAs from authorized users.

Where to show the CAPTCHA

Putting a CAPTCHA on every form annoys members and adds little protection. Focus on the places where anonymous visitors can create something:

  • Registration: always.
  • Guest posting: if you allow guests to post, protect that form too.
  • Password reset and contact forms: worth considering if you see abuse, since bots can use them to send mail through your server.
  • Logged-in posting: usually not needed. Use first-post moderation, link limits, and flood control for members instead.

Signs your CAPTCHA is not working

Keep an eye on a few simple signals:

  • A sudden rise in new accounts with random usernames or the same email domain.
  • Many accounts that register but never verify their email address.
  • Spam posts appearing within minutes of an account being created.
  • Real people emailing you to say they cannot get past the registration page.

If bots are getting through, check that honeypot fields and email verification are also on, and consider adding banned email domains for the providers you see. If real people are getting stuck, make sure the accessible alternative is visible and the instructions are clear. Testing the sign-up yourself on a phone is the quickest way to find problems.

Combine it with other checks

A CAPTCHA is the front door lock, not the whole security system. After an account is created, other rules decide how much harm it can do. Restricting links until a member has a few approved posts, holding first posts for review, and limiting how fast new members can post all reduce the value of any spam account that slips through. If you want to see everything Quick BB includes for this, the features list has the full anti-spam section, and the forum security checklist covers the wider picture.

Frequently asked questions

Does a CAPTCHA stop all forum spam?

No. It stops most automated bots but not human spammers who register by hand, so pair it with email verification, link limits and moderation.

Do I need a third-party CAPTCHA service?

Not necessarily. A well-built image CAPTCHA that runs on your own server can be strong if codes are one-time use, expire quickly and have attempt limits.

How do I make a CAPTCHA accessible?

Label it clearly, offer an alternative that does not depend on seeing the image, and give people a way to contact you if they still cannot register.

Get three guides like this every month, plus software update notices.Subscribe →