# Different user account with different user option(access to component)

**URL:** <https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811>\
**Category:** Runtime\
**Tags:** openhab2, openhab-user, userinterface\
**Created:** [November 30, 2017, 5:01pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811 "2017-11-30T17:01:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![poorna.theju](https://community.openhab.org/user_avatar/community.openhab.org/poorna.theju/32/55984_2.png) [@poorna.theju](https://community.openhab.org/u/poorna.theju)\
**Post date:** [November 30, 2017, 5:01pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/1 "2017-11-30T17:01:23Z")

</div>

i wanted an option where i can customise the user interface for different users of the openhab system at home

---

<div class="post-metadata">

**Author:** ![Confused](https://community.openhab.org/user_avatar/community.openhab.org/confused/32/72636_2.png) [@Confused](https://community.openhab.org/u/Confused)\
**Post date:** [November 30, 2017, 5:04pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/2 "2017-11-30T17:04:01Z")

</div>

If you are using BasicUI, you can set up multiple Sitemaps, and link to them directly:

[http://openhab:8080/basicui/app?sitemap=home](http://openhab:8080/basicui/app?sitemap=home)  
[http://openhab:8080/basicui/app?sitemap=wife](http://openhab:8080/basicui/app?sitemap=wife)  
[http://openhab:8080/basicui/app?sitemap=daughter](http://openhab:8080/basicui/app?sitemap=daughter)

---

<div class="post-metadata">

**Author:** ![poorna.theju](https://community.openhab.org/user_avatar/community.openhab.org/poorna.theju/32/55984_2.png) [@poorna.theju](https://community.openhab.org/u/poorna.theju)\
**Post date:** [November 30, 2017, 5:06pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/3 "2017-11-30T17:06:45Z")

</div>

how to allow them to access only the sitemaps which they are allowed to, instead of changing the sitemap in the app setting in the phone

---

<div class="post-metadata">

**Author:** ![Confused](https://community.openhab.org/user_avatar/community.openhab.org/confused/32/72636_2.png) [@Confused](https://community.openhab.org/u/Confused)\
**Post date:** [November 30, 2017, 5:17pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/4 "2017-11-30T17:17:51Z")

</div>

Unfortunately, there is no built-in security/authentication/users.

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [November 30, 2017, 8:57pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/5 "2017-11-30T20:57:54Z")

</div>

Theoretically you can set up a reverse proxy with authentication and forward requests to the right sitemap based on who they log in as. It has been talked about but I know of no one who has actually posted an example.

---

<div class="post-metadata">

**Author:** ![poorna.theju](https://community.openhab.org/user_avatar/community.openhab.org/poorna.theju/32/55984_2.png) [@poorna.theju](https://community.openhab.org/u/poorna.theju)\
**Post date:** [December 1, 2017, 4:36pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/6 "2017-12-01T16:36:38Z")

</div>

is there any alternative option to get this functionality

---

<div class="post-metadata">

**Author:** ![poorna.theju](https://community.openhab.org/user_avatar/community.openhab.org/poorna.theju/32/55984_2.png) [@poorna.theju](https://community.openhab.org/u/poorna.theju)\
**Post date:** [January 14, 2018, 6:08pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/7 "2018-01-14T18:08:47Z")

</div>

waiting for an approach

---

<div class="post-metadata">

**Author:** ![binderth](https://community.openhab.org/user_avatar/community.openhab.org/binderth/32/56257_2.png) [@binderth](https://community.openhab.org/u/binderth)\
**Post date:** [January 14, 2018, 7:16pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/8 "2018-01-14T19:16:00Z")

</div>

No, there isn’t - at least no easy one. openHAB is merely a backend server connecting different hardware together and lets you orchestrate them all together.  
If you wanted to add an security layer on that backend level, ist getting REALLY complicated REALLY fast.

So, the only “easy” thing is to reverse proxy and show different sitemaps. That’s it.

---

<div class="post-metadata">

**Author:** ![poorna.theju](https://community.openhab.org/user_avatar/community.openhab.org/poorna.theju/32/55984_2.png) [@poorna.theju](https://community.openhab.org/u/poorna.theju)\
**Post date:** [January 15, 2018, 5:23am UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/9 "2018-01-15T05:23:07Z")

</div>

how to get reverse proxy done

---

<div class="post-metadata">

**Author:** ![binderth](https://community.openhab.org/user_avatar/community.openhab.org/binderth/32/56257_2.png) [@binderth](https://community.openhab.org/u/binderth)\
**Post date:** [January 15, 2018, 7:16am UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/10 "2018-01-15T07:16:53Z")

</div>

That’s not openHAB related.  
I think, there’s a thread on it here somewhere - or use other forums.  
Relevant searches: reverse proxy nginx

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [January 16, 2018, 5:43pm UTC](https://community.openhab.org/t/different-user-account-with-different-user-option-access-to-component/36811/11 "2018-01-16T17:43:30Z")

</div>

[https://docs.openhab.org/installation/security.html#authentication-and-access-control](https://docs.openhab.org/installation/security.html#authentication-and-access-control)
