[mythtv-commits] mythtv/master commit: 61ba720ef by David Blain (dblain)

MythTV noreply at mythtv.org
Sat Mar 26 03:17:46 UTC 2011


      Author:  David Blain <dblain at mythtv.org>
 Change Date:  2011-03-25T20:11:56-07:00
   Push Date:  2011/03/25 20:17:43 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  61ba720efe9b09d47a3a6d1e5b740c2493fa5447
   Changeset:  https://github.com/MythTV/mythtv/commit/61ba720ef

Log:

Add Basic Authentication to the built in Html server.

 * Username defaults to "admin" (setting key: HTTP/Protected/UserName)
 * Password defaults to "mythtv"(setting key: HTTP/Protected/Password)
 * Protected URLs currently set to "/setup" and is a ';' delimited list
   Server does a case insensitive startsWith compare.
   (setting key: HTTP/Protected/Urls)

Things needed to be done still -

 * Password is sent in clear text (base64 encoded), we need to implement SSL
 * All authentication details stored in settings table... not very secure
   (Looking for suggestions to make this better).

Modified:

   mythtv/libs/libmythupnp/htmlserver.cpp
   mythtv/libs/libmythupnp/httprequest.cpp
   mythtv/libs/libmythupnp/httprequest.h
   mythtv/programs/mythbackend/httpconfig.cpp



More information about the mythtv-commits mailing list