# Security Items

Each security item provides a unique functionality to restrict access to your survey. You can add multiple security items to your survey that will be evaluate from top to bottom until all security items have been authenticated.

{% hint style="warning" %}
The respondent needs to pass all security items checks to access the survey.&#x20;
{% endhint %}

## ➕ **Adding a security item**

To add a new security item to your survey you may add any of the available security items&#x20;

<figure><img src="/files/9xT06k2BPa2KbGXRWgGo" alt=""><figcaption></figcaption></figure>

🔅 Managing security items<br>

<figure><img src="/files/qijIzad2oJ5MDp09NaxL" alt=""><figcaption></figcaption></figure>

* **`Enable key provider`** will set the security item as a [key provider](/form-management/security/key-provider-concepts.md).
* **`Ignore archived`** will skip any [archived respondent ](/form-management/respondents-management/archived-respondents.md)for his authentication checks.
* **`Logging`** will log any failed / success from the security item in the survey [activity log](/form-management/activity-log.md).
* **`Enabled`** if the security item is enabled is will require the respondent to pass its security checks. You can disable the security item to disable its security check

## 😩 **Failed authentication**

You can trigger specific actions if the respondent fails to authenticate all security items.

![](/files/-MBJAXPpmbX-vEDy35P1)

* **`Display thanks you message`** redirects the respondent to thank you message page.
* **`Hide survey`** will show a blank page.
* **`Show custom message`** shows a custom message to the respondent.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ngsurvey.com/form-management/security/security-items.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
