Access Control List to Control Page

Posted on
Mon Jan 22, 2018 6:23 am
MarcoGT offline
Posts: 1091
Joined: Sep 11, 2014
Location: Germany

Access Control List to Control Page

Hi all,

it would be nice to have the possibility to display control page on end device (mac/ipad/iphone) by specifying the IP address (or a range) of the client.
Example:

ControlPage_1 accessible to 192.168.1.100 (or from 192.168.1.100 to 192.168.1.110)
ControlPage_2 accessible to 192.168.1.120

and so on.

Thanks
Marco

Posted on
Mon Jan 22, 2018 7:38 am
roussell offline
User avatar
Posts: 1108
Joined: Aug 18, 2008
Location: Alabama

Re: Access Control List to Control Page

This would be VERY nice to have, or at least some type of access-control on Control Pages.

At the very least, it sounds like another feature request I can dump onto Domopad. Adam, are you reading this??? :twisted:

For your specific example though, if you're using a web browser to view the CPs, it should be possible to use Nginx to build reverse proxies to the page(s) with access controls on them. I haven't tried it, but have done similar at work before so it could be something fun (or frustrating) to try...

Terry

Posted on
Mon Jan 22, 2018 8:57 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Access Control List to Control Page

I would think you might be able to hack that together using .htaccess on the server. Since we know the name of the destination page the .htaccess method should, theoretically, work.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Wed Jan 24, 2018 12:52 pm
MarcoGT offline
Posts: 1091
Joined: Sep 11, 2014
Location: Germany

Re: Access Control List to Control Page

Is there already an .htaccess for the IWS?

Posted on
Wed Jan 24, 2018 4:20 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Access Control List to Control Page

IWS isn't built on Apache so there is no .htaccess. We use CherryPy which doesn't support .htaccess files.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Jan 25, 2018 2:04 am
MarcoGT offline
Posts: 1091
Joined: Sep 11, 2014
Location: Germany

Re: Access Control List to Control Page

Ok, so the feature request is still valid :mrgreen: :mrgreen:

Posted on
Thu Jan 25, 2018 11:01 am
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Access Control List to Control Page

All feature requests are valid. I was just addressing your question about .htaccess... :roll:

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Jan 25, 2018 11:07 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Access Control List to Control Page

Another workaround would be to roll your own web server that simply acts as a redirect depending on what conditions or rules you put into place. Now this would be more for using with a web browser than the Indigo Touch, but if it handled the redirects then you could even encapsulate each page in a frame so that the plugin was the master at all times and simply changes the frame to be the actual control page.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests