> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding CAPTCHA protection to a Drupal site

> Secure your Drupal site from spam and bots with CAPTCHA protection. Learn how to add it here.

This article describes how to add Drupal CAPTCHA protection to a site using the CAPTCHA module. CAPTCHAs help protect your Drupal site from spamming by bots and other malicious actors.

<Note>
  For general information about what Drupal CAPTCHAs are and what they do, please see [this article](/docs/adding-captcha-protection-to-your-web-site).
</Note>

## Adding Drupal CAPTCHA protection

To add Drupal CAPTCHA protection to a site using the CAPTCHA module, follow these steps:

1. Use your web browser to visit [https://drupal.org/project/captcha](https://drupal.org/project/captcha).

2. Under **Downloads**, download the.gz file to your computer.

3. Log in to your Drupal site as the administrator.

4. On the top menu bar, click **Modules**, and then click **Install new module**.

5. Click **Browse**, select the.gz file on your local computer, and then click **Install**. Drupal installs the CAPTCHA module.

6. Under **Next steps**, click **Enable newly added modules**. The **Modules** page appears.

7. Scroll down to **SPAM CONTROL**, and select the **ENABLED** check box next to the CAPTCHA module.
   > 📘 Note
   >
   > By default, the Drupal CAPTCHA module uses math problems for CAPTCHA tests. If you want to use image-based CAPTCHA tests, enable the\
   > **Image CAPTCHA** module also.

8. Click **Save configuration**.

9. Scroll down to **SPAM CONTROL** again, and click **Configure** for the CAPTCHA module. The CAPTCHA module configuration page appears.

10. You can now define which areas of your site are protected by CAPTCHAs. For example, to protect registration forms, locate **user\_register\_form** in the **FORM\_ID** column, select the challenge type, and then click **Save configuration**. To test this, go to your Drupal site and click a **register** link. Drupal displays a CAPTCHA in the registration form.
    > 👍 Tip
    >
    > To preview the CAPTCHAs' appearance based the current site settings, click\
    > **Examples** .

## More information

For more information about the Drupal CAPTCHA module, please visit [https://drupal.org/project/captcha](https://drupal.org/project/captcha).

## Related articles

* [Drupal](/docs/drupal1)
