# Security

ngSurvey provides you with a very rich and extensible [security system](/form-management/security/security-items.md) that  can customize to restrict access to your surveys or to integrate with third party data stores like SQL Servers or REST APIs .

You can restrict access to each of your surveys using one or multiple [security items](/form-management/security/security-items.md), once a security item is activated on the survey only respondents who passed that security item will be able to access your survey.

Out of the box ngSurvey provides following [security items](/form-management/security/security-items.md) to restrict access of your surveys.

* [Captcha](/form-management/form-designer/answers/answer-types/captcha.md)
* [IP Protection](/form-management/security/security-items/ip-protection.md)
* [Password](/form-management/form-designer/answers/answer-types/password.md)
* [Tokens](/form-management/security/security-items/tokens.md)
* [SQL Security](/form-management/security/security-items/sql-security.md)
* [Captcha](/form-management/form-designer/answers/answer-types/captcha.md)
* [Panel Security](/form-management/security/security-items/panel-security.md)
* [Invitation Code](/form-management/security/security-items/invitation-code.md)
* [HTTP Function](/form-management/security/security-items/http-security-function.md)
* [Auth0 Security](/form-management/security/security-items/auth0-security.md)
* [CAS Authentication](/form-management/security/security-items/cas-authentication.md)
* [Active Directory Security](/form-management/security/security-items/active-directory-security.md)
* [Azure Active Directory Security](/form-management/security/security-items/azure-active-directory-security.md)
* [Auth0](/form-management/security/security-items/auth0-security.md)
* [OpenId Connect](/form-management/security/security-items/openid-connect.md)
* [Quota Restrictions](/form-management/security/security-items/quota-restrictions.md)
* [Referer](/form-management/security/security-items/referer.md)
* [Local Users Security](/form-management/security/security-items/local-users-security.md)
* [IP Access Control](/form-management/security/security-items/ip-access-control.md)

{% hint style="info" %}
By default ngSurvey will send over the API the structure of the survey (questions and answers) to render it to the respondents, if you need more privacy for your survey structure you can enable the "Secured survey loading" option in the [survey properties](/form-management/form-designer/form-settings.md) to enable send and use the survey structure (questions, answers) only once all security items have been authenticated or a respondent session restored.
{% endhint %}


---

# 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.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.
