[mythtv-users] MP3 player for mythmusic via mythweb

John Morris jmorris at beau.org
Tue Dec 31 02:39:34 UTC 2019


On Tue, 2019-12-31 at 14:12 +1300, Robin Gilks wrote:
> > On Mon, 30 Dec 2019 22:23:40 +1300, you wrote:
> > 
> > 
> > Is there any particular reason that you need to use a
> > username/password on mythweb?  It is not really safe to expose
> > mythweb
> > to the Internet even with a username/password.  So what I do is use
> > OpenVPN for external access to my network, and then I do not need to
> > bother with a username/password for mythweb.
> 
> Good point - I'll have to read up on how I keep other parts of apache
> available but keep mythweb available on the local domain only.

You don't have to restrict by username / password in an .htaccess file. 
Do it by ip address.  Deny the egress router if (and you are) using NAT
since that is what anyone outside will appear to be.  Then deny anyone
on your guest WiFi IP block if you want to lock things down.  Allow
anything left after that.

With some cleverness you should be able to do both, allow a username
from outside but allow internal access to be unrestricted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20191230/bbebf604/attachment.sig>


More information about the mythtv-users mailing list