LinHES Forums http://forums.linhes.org/ |
|
Securing MythWeb with a password - HOWTO http://forums.linhes.org/viewtopic.php?f=3&t=212 |
Page 1 of 1 |
Author: | shrkbait [ Mon Dec 01, 2003 10:15 am ] |
Post subject: | Securing MythWeb with a password - HOWTO |
If anyone out there has their myth box directly connected to their net connection, you may want to put a Basic Auth password over the mythweb root. 1) Add the BasicAuth settings to httpd.conf # vi /etc/apache/httpd.conf Search for the root directory settings: /<Directory \/var\/www\/> Below 'AllowOverride None' add: # Force a password AuthType Basic AuthName "BasicAuth" AuthUserFile /etc/apache/basicauth Require valid-user Save :wq 2) Create your user(s) # htpasswd -c /etc/apache/basicauth USERNAME Then type in the password Note: For any future additions, drop the '-c' parameter. It is for 'create'. # htpasswd /etc/apache/basicauth USERNAME2 3) Restart apache /etc/init.d/apache restart 4) Test Open whatever browser to your page and verify it asks and accepts your password. There may be a way to do the same thing with a .htaccess file, but this is how I do it. |
Author: | Dinki [ Mon Feb 02, 2004 2:34 pm ] |
Post subject: | |
Awesome. Thanks for the post |
Author: | digitalb0y [ Sun Feb 22, 2004 10:23 am ] |
Post subject: | |
Nice Doc if you want to do even more http://httpd.apache.org/docs-2.0/howto/auth.html |
Author: | eshaffer [ Sat Feb 28, 2004 2:18 am ] |
Post subject: | |
I have my mythweb on the net and want the security of a password to avoid unwanted recordings/deletions. But sometimes this can be iritating when you access mythweb from a home PC and you need to enter a password. Below is a .htaccess file that will only require a password if you are not on your local private network. Code: Deny from all
Allow from 192.168.0. AuthType Basic AuthName "MythTV" AuthUserFile /var/www/htpasswd Require valid-user Satisfy any Enjoy ![]() |
Author: | rkremser [ Mon Nov 01, 2004 3:44 pm ] |
Post subject: | |
how exactly is this put into effect (last post with home network privlidges) I looked around but don't quite get how to get it working.. |
Author: | Xsecrets [ Mon Nov 01, 2004 4:49 pm ] |
Post subject: | |
have you looked at the instructions on the wiki they should be specefic enough to get you through it. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |