# Password protect

{% hint style="info" %}
If you are looking for a way to prevent duplicate entries read [this article](https://docs.super-forms.com/features/advanced/prevent-duplicate-entries) instead. If you want to lock a form after specific amount of submissions read [this article](https://docs.super-forms.com/features/advanced/lock-and-hide-form).
{% endhint %}

Simply edit your form and go to Form Settings > Password Protect (see image below). Here you can define the password required to submit the form.

Optionally you can also define the form to be only submitted by specific user roles. For instance, you can only allow users with the `administrator` role to submit the form.

You might also just want to hide the form from any locked out users, this works well together with the [Lock & hide form](https://docs.super-forms.com/features/advanced/lock-and-hide-form) feature.

Another option is to only allow logged in users or to hide the form from not logged in users and visa versa.

<div align="left"><figure><img src="https://852124118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6Kz0R6S7z3Fb6KLZYVE%2Fuploads%2FjtGDJeEijbzm8eRilhSo%2Fimage.png?alt=media&#x26;token=9375e776-8c1a-459e-b43a-a3744240ea53" alt="Password protect WordPress form and based on user roles"><figcaption><p>Password protect WordPress form and based on user roles</p></figcaption></figure></div>
