# Panel Security

## 👪 What is panel security ?

The panel security item will restrict access of the survey only to [panelist](https://docs.ngsurvey.com/panels/panelists) of the [panels](https://docs.ngsurvey.com/form-management/campaigns/campaign/panels) of your choice. Panelists will be identified using either their unique [panelist id column](https://docs.ngsurvey.com/panels/panelists) or through one of the [panelist attribute](https://docs.ngsurvey.com/panels/untitled) value if you have [mapped](https://docs.ngsurvey.com/form-management/security/security-items/panel-security/panelist-mapping) one of your [panel attribute](https://docs.ngsurvey.com/panels/untitled) to look up the value.

{% hint style="info" %}
Once you have setup a panel security you may use any of the [panelist attributes](https://docs.ngsurvey.com/panels/untitled) for [piping](https://docs.ngsurvey.com/form-management/form-designer/piping/text-data-piping) or to use them in your [conditions](https://docs.ngsurvey.com/form-management/form-designer/condition-rules).
{% endhint %}

## 🔅 Panel security properties

* **`Give access to`** <br>
  * **Everyone** lets anyone take the survey. If a panelist is identified ngSurvey will link the posted answers to the panelist.
  * **Only panelists** lets only valid identified panelists take the survey. These panelists must be part of the selected panels.
  * **Invited panelists** lets only invited panelists take the survey. Only panelists who received a valid invitation using the [campaign](https://docs.ngsurvey.com/form-management/campaigns) tool will be able to access the survey.<br>
* **`Allow multiple submissions`** Panelists will be able to post multiple times different answers.

{% hint style="info" %}
🧙 This security item can be set to ignore previously [archived](https://docs.ngsurvey.com/form-management/respondents-management/archived-respondents) panelists.
{% endhint %}

{% hint style="success" %}
This security item can be used as a [key provider](https://docs.ngsurvey.com/form-management/security/key-provider-concepts).
{% endhint %}

## 🔑 Panel security access

When using the panel security you have to make sure to move the panels that ngSurvey will use to identify and look up the panelist based on its id on the right pane.&#x20;

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBFuktG_cRlfnbZ5T21%2F-MBFvN0uqBWKRYv0IlXy%2Fimage.png?alt=media\&token=2130c20e-1b7e-440a-b5be-36260d6ef649)

## 👀 Panelist attributes visibility

By default ngSurvey will make available to the survey all [panelist attributes](https://docs.ngsurvey.com/panels/untitled) for [piping ](https://docs.ngsurvey.com/form-management/form-designer/piping/text-data-piping)and [condition rules](https://docs.ngsurvey.com/form-management/form-designer/condition-rules/conditions-rules) used for features like skip logic and page branching.

If you want to keep a given [panelist attribute](https://docs.ngsurvey.com/panels/untitled) with sensitive information private and not accessible by the respondent and its survey you need to set the **Respondent display behavior property** to **Always hidden** in the panel attribute settings pag&#x65;**.**

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MEQt1ytZOGQ4LX32jpr%2F-MEQyfqEoDi1Qdo91hzi%2Fimage.png?alt=media\&token=a691862d-4567-4511-a9a1-92fd09d8db6d)

{% hint style="info" %}
If set to always hidden the panelist attribute can't be used for piping or any kind of action within the survey as its value is to sent and is kept secretly on the server.
{% endhint %}
