Direkt zum Hauptbereich

Security für Mythweb

webserver erreichbar unter <...>.dyndns.org/mythweb

Security für Mythweb

/etc/apache2/apache2.conf enthält

# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.

# Include generic snippets of statements
Include /etc/apache2/conf.d/

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/

in /etc/apache2/sites-enabled/mythweb.conf enthält wiederum
Options Indexes FollowSymLinks
AuthType Digest
AuthName "MythTV"
AuthUserFile /etc/apache2/passwd/passwords
Require valid-user
# BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
Order allow,deny
Allow from 192.168.1.
Satisfy any

mit htdigest -c /etc/apache2/passwd/passwords MythTV username
wird der erste Benutzer angelegt, weitere mit
htdigest /etc/apache2/passwd/passwords MythTV username

und /etc/apache2/passwd enthält verschlüsselt dann die eigentlichen Passwörter a la

daniel:MythTV:467[...]

Kommentare