# Making password protection

**URL:** <https://forum.inductiveautomation.com/t/making-password-protection/57100>\
**Category:** Ignition\
**Created:** [March 11, 2022, 11:50am UTC](https://forum.inductiveautomation.com/t/making-password-protection/57100 "2022-03-11T11:50:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Conn\_Mccurdy](https://avatars.discourse-cdn.com/v4/letter/c/e495f1/32.png) [@Conn\_Mccurdy](https://forum.inductiveautomation.com/u/Conn_Mccurdy)\
**Post date:** [March 11, 2022, 11:50am UTC](https://forum.inductiveautomation.com/t/making-password-protection/57100/1 "2022-03-11T11:50:59Z")

</div>

So i am trying to make login and password protected section as the first page in my perspective designer so that when you click on the login after a username and password it will bring you to the controls page of my designer. I am trying to have it so when i launch my page as a URL that my fist page in my designer will be password protected. The user using the interface will then have to type in his/her password in order to get to the next page. On ignition it says that i need an identity provider to do this. I am just wondering if it is possible just to simulate in some way without an identity provider.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 11, 2022, 12:05pm UTC](https://forum.inductiveautomation.com/t/making-password-protection/57100/2 "2022-03-11T12:05:43Z")

</div>

On the gateway go to Config | Security | Users, Roles and add your user into the default. You may need to create some roles and assign those roles to the user.

To protect a view go to the Project Browser, right-click on the view, Configure View Permissions, and choose the roles.

Tip: “_… that my fist page in my designer will be password protected …_” No, you’re trying to set the first page in your **application** to be password protected.

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [March 11, 2022, 3:55pm UTC](https://forum.inductiveautomation.com/t/making-password-protection/57100/3 "2022-03-11T15:55:28Z")

</div>

You can just require a login to start a session. So by the time they get to the first page, they have already been verified. i.e. start session \> user has to login \> main view opens.  
use this to require login, make sure to create credentials. and set user source

 ![secure](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/e/1e377398225fd154cb44828435c7f62e40d38d53.png)  
 ![user](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/4/d4334e5d918366c7bef5b18c176dad4c52d8aa16.png)
