[mythtv] Disabling Authentication in Webfrontend?

Dag Nygren dag at newtech.fi
Fri Sep 15 15:38:41 UTC 2017


On Friday 15 September 2017 10:26:28 Bill Meek wrote:
> On 09/15/2017 09:54 AM, Dag Nygren wrote:

> 
> If user admin, pass mythtv works, then try this (works for me):
> 
>      curl --digest --user admin:mythtv -H 'Accept: application/json' --data Key=HTTP/Protected/Urls --data Value="/Off" 
> yourBackend:6544/Myth/PutSetting
> 
> /Off isn't special, it just isn't one of the services known to the API.

Gives me a response of:
<?xml version="1.0" encoding="utf-8"?><detail><errorCode>501</errorCode><errorDescription>Key Required</errorDescription></detail>

> User admin is known to mythbackend (in its DB.)
> 
> This is a bad solution for anyone that doesn't have something
> else, like "Apache web server as a proxy", as Dag does.

Agree very much on that. But exposing the mythserver to the
internet is not so nice either.

Dag


More information about the mythtv-dev mailing list