---
generated_by: surveylegend-page-markdown
title: How to protect your survey with a password
description: It's so easy to protect your survey with a password, passcode, or
  secret word. Password protected surveys are essential for confidential
  research projects.
canonical: https://www.surveylegend.com/features/protect-survey-with-password-passcode-secret-word/
---

# How to protect your survey with a password, passcode, or secret word

[Create your feedback survey, it’s free!](https://www.surveylegend.com/register/)

5 min read

**Published:&#xA0;**&#x20;May 8, 2017

![password protected online survey](https://www.surveylegend.com/wordpress/wp-content/uploads/2017/05/password-protected-online-survey.png)

Share this article

[Facebook ](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F)[LinkedIn ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F)[X ](https://x.com/intent/tweet?url=https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F\&text=How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word)[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F\&title=How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word)

Category: [Features](https://www.surveylegend.com/category/features/)

Share:

[Facebook ](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F)[LinkedIn ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F)[X ](https://x.com/intent/tweet?url=https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F\&text=How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word)[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F\&title=How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word)

AI:

- [Summarize with ChatGPT](https://chat.openai.com/?q=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)
- [Summarize with Grok](https://x.com/i/grok?text=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)
- [Summarize with Google AI](https://www.google.com/search?udm=50\&aep=11\&q=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)
- [Summarize with Perplexity](https://www.perplexity.ai/search/new?q=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)
- [Summarize with Claude.ai](https://claude.ai/new?q=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)

[Create now, it's free!](https://app.surveylegend.com/register/)

Register for free to SurveyLegends online survey platform!

Summarize with AI:

- [ChatGPT ChatGPT](https://chat.openai.com/?q=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)
- [Grok Grok](https://x.com/i/grok?text=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)
- [Google AI Google AI](https://www.google.com/search?udm=50\&aep=11\&q=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)
- [Perplexity Perplexity](https://www.perplexity.ai/search/new?q=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)
- [Claude.ai Claude.ai](https://claude.ai/new?q=SurveyLegend%20is%20an%20online%20survey%2C%20form%2C%20poll%2C%20and%20NPS%20platform.%0A%0APlease%20read%20and%20summarize%20this%20SurveyLegend%20article.%0A%0ATitle%3A%20How%20to%20protect%20your%20survey%20with%20a%20password%2C%20passcode%2C%20or%20secret%20word%0ASource%3A%20https%3A%2F%2Fwww.surveylegend.com%2Ffeatures%2Fprotect-survey-with-password-passcode-secret-word%2F%0A%0AProvide%3A%0A1.%20A%20concise%20summary.%0A2.%20Five%20key%20takeaways.%0A3.%20Practical%20implications%20for%20the%20reader.%0A%0AUse%20the%20article%20as%20the%20primary%20source%2C%20attribute%20it%20to%20SurveyLegend%2C%20and%20include%20the%20source%20link.%20If%20you%20cannot%20access%20the%20article%2C%20say%20so%20instead%20of%20inventing%20information.)

When you make a survey with our tool, you’ll get a link which can be shared with anyone, posted on social media, or be forwarded via email to others. People might accidentally find the link to your survey, or search engines may lead them to it.

But sometimes you may need to restrict the access to your survey, keep it private, and share it only with a selection of people.

For example, you may be working on a secret project, designing and developing a new product or service. You still need feedback from your team or stakeholders, but you do not want others to access your survey.

In this case, you can easily assign a password to it using our [survey logics](https://www.surveylegend.com/user-guide/survey-logic/), so that only those who are aware of this password can access it.

## Here is how you create a password protected survey

### 1- Adding the password question

When you’re done with creating and organizing your survey, go ahead and add a Text box question right at the beginning of the survey. This question can be something like:

- “Please enter the password, to access this survey.”
- “What is the secret code that you have received from us?”’
- “What is your employee ID?”

**Choose your audience. Prepare your questions.**

Plan who you want to hear from and which questions you need to ask. Create your own feedback survey with SurveyLegend and start for free.

### 2- Make this question compulsory

To make sure people cannot pass this question without answering it, make it compulsory by activating the [Answer is required](https://www.surveylegend.com/user-guide/demand-required-answer/) setting.

### 3- Add a page break

Now drag and drop a page break, under this password question that you just added. This helps you to divide the survey into different parts; and the first part they will see is this page, with the password question.

### 4- Add a section break

Now drag and drop a section break, under the first page-break. this is necessary to create the logic necessary for password protecting the survey. Enter some information about the survey, optinally this section break can be used as a Welcome Page if another page-break is added directly after.

### 5- Create your survey

Add all the questions you want the respondents to answer.

### 6- Add another section break as the last item in the survey

Enter a message about the password being incorrect, what they should do, where you provided their password etc.

### 7- Activate the logic step

Now while you’re on the “Create”, activate the “Logic” step, using the toggle button at the bottom-left corner. When activated, go to the logic step, using the navigation buttons located at the top bar.

### 8- Create a logic flow to hide the survey in case they enter an incorrect password

Here you can make your survey more intelligent and hide the survey questions when an incorrect password is entered. The logic we are trying to create is something like this:

IF answer to the password question is not correct, skip to the “invalid password message”.

To do so, follow these steps:

1. **A:**&#x43;lick on the password question, to create a new logic flow.
2. **B:**

   Now, when you’re in the logic flow creation mode, choose [does not contain](https://www.surveylegend.com/user-guide/logic-conditions-for-questions-with-text-input/)”.
3. **C:**

   Then in the text box below, type the word that you want to use as the passcode. Note that you can add several words if you want. Every time you type something and press the “enter” or “return” button on your keyboard, you add one new item.
4. **D:**

   Now scroll down to the “THEN” section of your logic flow, and add a consequence for this rule that you just made. You can do that by choosing “ [Skip to](https://www.surveylegend.com/user-guide/skip-to-logic/)” from the first dropdown, and then from the second one, choose “Section”; and then choose the last section in the survey from the list below.

**Logic Flow #1**

**IF** answer to the following question

Please type the passcode that you received from us via email.

does not contain

Hard-Password! Type one or more words…

**THEN** skip to section(s)

Section #2

end of logic flow

**Note:** Note that the passwords that you create with this technique are not case sensitive! Also, they are visible when users are typing them.

**What would you like to know? Bring your own questions.**

Choose one thing you want to understand about your audience. Create your own feedback survey with SurveyLegend and get started for free.

### 9- Create another logic flow to hide the incorrect password message when they enter a correct password

If this step is skipped everyone will see the “incorrect password message” wheter they enter the password correctly or not. Now we don’t want that do we? :)

The logic we are trying to create is like this:

IF answer to the password question is correct, hide the “invalid password message”.

To do so, follow these steps:

1. **A:**&#x43;lick on the password question again, to create a second logic flow for it.
2. **B:**

   Now, when you’re in the logic flow creation mode, choose [contains](https://www.surveylegend.com/user-guide/logic-conditions-for-questions-with-text-input/)”.
3. **C:**&#x54;hen in the text box below, type the same password(s) as in the “Logic Flow #1”.
4. **D:**

   Now scroll down to the “THEN” section of your logic flow, and add a consequence for this rule. You can do that by choosing “[Hide](https://www.surveylegend.com/user-guide/hide-logic/)” from the first dropdown, and then from the second one, choose “Section”; and then choose the last section in the survey from the list below.

**Logic Flow #2**

**IF** answer to the following question

Please type the passcode that you received from us via email.

contains

Hard-Password! Type one or more words…

**THEN** hide section(s)

Section #2

end of logic flow

### 10- Don’t forget to send your custom passcode to your respondents

Whn you make a survey with our tool, you’ll get a [link to the survey](https://www.surveylegend.com/user-guide/sharing-surveys/). Make sure to send the password together with the survey link, when sharing it with your trusted respondents.

***

## Here is a live example of a survey with password protection

The passcode for this demo survey is **1234**. As you can see below, we have even used one more logic flow to display instant feedback to respondents who type the password wrong, or correctly. This makes your survey more human friendly and people can understand if they are typing the password correctly or not.

So first, try to write a wrong password, and then try it by writing the correct password.

[Password protected survey example](https://s.surveylegend.com/-KjbbmjaYHJ8SxmceqIL)

**Found an approach you like? Give it your own questions.**

Use what you have learned to create your own feedback survey. Get started for free with SurveyLegend.

## How did we make these flows?

It was simple. Just checkout the images below and you’ll be able to remake them on your own! ;)

![logic-flow-correct-password](https://www.surveylegend.com/wordpress/wp-content/themes/sage/public/images/tutorials/password-protected-survey-password-correct-2.574964.png)

This is the logic flow that you must make for respondents who type the correct password, for your password protected survey.

![logic-flow-incorrect-password](https://www.surveylegend.com/wordpress/wp-content/themes/sage/public/images/tutorials/password-protected-survey-password-wrong-2.04ffa0.png)

This is the logic flow that you must make for respondents who type the incorrect password, for your password protected survey.

![Jasko Mahmutovic](https://www.surveylegend.com/homepage-media/team/jasko-mahmutovic.avif)

Written by

## [Jasko Mahmutovic](https://www.surveylegend.com/author/jasko-mahmutovic/)

Online survey tool expert, founder and CEO of SurveyLegend

Jasko Mahmutovic has worked in the online survey, form, and polling industry since 2008. In 2010, he founded SurveyLegend with a simple goal: collecting valuable insights from customers, employees, and audiences should never be complicated or boring. He stays closely connected to developments in the market research industry and continues to innovate and advance the online survey industry—now by exploring how AI can make collecting and understanding feedback smarter, faster, and more engaging.

[View author profile](https://www.surveylegend.com/author/jasko-mahmutovic/)

View author profile

[LinkedIn](https://www.linkedin.com/in/jaskomahmutovic/)

The verified LinkedIn profile of Jasko Mahmutovic, founder and CEO of SurveyLegend. Visit Jaskos LinkedIn profile to connect.

[Website](https://jaskomahmutovic.com/)

Jasko Mahmutovic’s personal webpage, where you can learn how Jasko founded SurveyLegend the best online survey platform and how his journey in Software as a Service (SaaS) started.

Related articles

## Keep reading

[![Illustration of a woman working on a laptop while the SurveyLegend mascot flies above her surrounded by various international flags, representing multilingual survey creation.](https://www.surveylegend.com/wordpress/wp-content/uploads/2025/12/how-to-create-multilingual-surveys.webp) ](https://www.surveylegend.com/features/multilingual-surveys/)

[ Features October 19, 2026](https://www.surveylegend.com/features/multilingual-surveys/)

## [How to Make Multilingual Surveys with Examples](https://www.surveylegend.com/features/multilingual-surveys/)

[![Matrix Survey](https://www.surveylegend.com/wordpress/wp-content/uploads/2021/01/matrix-survey-main-2.png) ](https://www.surveylegend.com/survey-examples/how-to-create-matrix-survey/)

[ Survey Examples January 5, 2026](https://www.surveylegend.com/survey-examples/how-to-create-matrix-survey/)

## [How Do You Create a Matrix Survey? Is There a Better Survey Method?](https://www.surveylegend.com/survey-examples/how-to-create-matrix-survey/)

[![Survey Bot Prevention](https://www.surveylegend.com/wordpress/wp-content/uploads/2024/06/mascot-bot-FINAL-1.jpg) ](https://www.surveylegend.com/security/10-ways-to-battle-survey-bots-and-why-they-attack/)

[ Security January 3, 2026](https://www.surveylegend.com/security/10-ways-to-battle-survey-bots-and-why-they-attack/)

## [10 Ways To Battle Survey Bots (And Why They Attack)](https://www.surveylegend.com/security/10-ways-to-battle-survey-bots-and-why-they-attack/)
