# Security Settings

> Security settings in Advanzo CRM: set up Google reCaptcha v2, block known bad visitors and disable the forgot-password feature.

## General Security Features

Use these settings to make your Advanzo CRM installation more secure.

### Disable Password Forgot

- Enabling this option disables the forgot-password feature. This reduces the risk of spam bots and hackers trying to access user accounts.

### Block Bad Visitors

- When this feature is active, guest visitors are checked against a list of known bad user agents, IP addresses and referrers.
- Note: This applies only to users who are not logged in.

## ReCaptcha Configuration

Set up [Google reCaptcha v2](https://www.google.com/recaptcha/admin) for additional protection.

> **Danger:** Important: Make sure you configure reCaptcha **v2, not v3**.

### Setting Up ReCaptcha

1. **Generate Keys**:

    - Visit [Google reCaptcha Admin](https://www.google.com/recaptcha/admin).
    - Register your site with a label (e.g., **Advanzo CRM -> reCaptcha**) and add your domain.
    - Copy the **Secret Key** and **Site Key**.

> **Danger:** Check that the keys are correct and that you enter them in the right fields in the Advanzo CRM settings.

1. **Configuring in Advanzo CRM**:

    - Go to **Settings -> Security -> reCaptcha**.
    - Enter the **Site Key** and **Secret Key** in the respective fields.

### Testing ReCaptcha

- To test the setup, open your CRM URL in incognito mode and try to log in.
- This shows whether reCaptcha works correctly.

> **Info:** To avoid locking yourself out, add your IP address to the ignored list before saving, especially if you are unsure about the configuration steps.
