# Vision Client Auto-login and Security

**URL:** <https://forum.inductiveautomation.com/t/vision-client-auto-login-and-security/72412>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [April 13, 2023, 2:36pm UTC](https://forum.inductiveautomation.com/t/vision-client-auto-login-and-security/72412 "2023-04-13T14:36:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Benson](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@Mike\_Benson](https://forum.inductiveautomation.com/u/Mike_Benson)\
**Post date:** [April 13, 2023, 2:36pm UTC](https://forum.inductiveautomation.com/t/vision-client-auto-login-and-security/72412/1 "2023-04-13T14:36:06Z")

</div>

I am working on a Vision client for use on the factory floor. The main landing page shows the current status of the line. It is capable of overriding certain functions to control line flow. I want to restrict those actions behind a login. Is there a way to do this? I envision an auto-login with view permissions, but then needing to present credentials when attempting to access the windows/functions that allow modification. Any assistance would be appreciated. Thank you.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [April 13, 2023, 5:29pm UTC](https://forum.inductiveautomation.com/t/vision-client-auto-login-and-security/72412/2 "2023-04-13T17:29:56Z")

</div>

Hi Mike, welcome to the forum. 🙂

Use of [system.security.switchUser()](https://docs.inductiveautomation.com/display/DOC81/system.security.switchUser) should help. Setting security on the items you wish to affect should do the rest.

If you need extra inspiration, make a throwaway project using a Vision Tab Nav template. In the navigation window you will see lock screen / switch user / logout options.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/f/8f00294cdf8e656d8bc11e9f69f4f841481e87a3.png)
