[redhat8+httpdv2] Authentication in SSL-modus

Pagina: 1
Acties:

  • DPLuS
  • Registratie: April 2000
  • Niet online
Ik heb dit staan in een SSL-virtualhost:

code:
1
2
3
4
        AuthType Basic
        AuthName "Restricted Files"
        AuthUserFile /usr/local/apache/passwd/passwords
        require user blaat


Mijn vraag is nu of de browser je wachtwoord nog altijd in cleartext verstuurt als je zo'n Realm hebt in een SSL-domein...


(...) The AuthType directive selects that method that is used to authenticate the user. The most common method is Basic, and this is the method implemented by mod_auth. It is important to be aware, however, that Basic authentication sends the password from the client to the browser unencrypted.

  • Eärendil
  • Registratie: Februari 2002
  • Laatst online: 09:15
Als het niet-SSL was geweest stuurde de browser het in plaintext, bij SSL wordt al het verkeer tussen de browser en de server gecodeerd zo dat alleen de server het kan decoderen. De server zal het wachtwoord dan alsnog encrypten om het te vergelijken met dat in de password-file

  • DPLuS
  • Registratie: April 2000
  • Niet online
Ja, ik heb net ook trouwens tcpdump geinstalleerd om het te controleren, maar het blijkt inderdaad dat al VOORDAT het wachtwoord verstuurd wordt, de beveiligde verbinding tot stand wordt gebracht.
Dus geen plaintext pass meer :)