Did you know ... Search Documentation:
Pack prologmud_samples -- prolog/prologmud_sample_games/config-enabled-swish/auth_http.pl
PublicShow source

Enable optional HTTP based authentication.

Note that lib/authenticate.pl supports both HTTP basic and HTTP digest login. Please make sure to understand the security issues involved with using authenticated access. In a nutshell:

  • Basic authentication should only be used together with HTTPS as it exposes the user and password on the wire.
  • Digest authentication uses a challenge/response protocol to avoid exposing the password and a nonce to avoid steeling a connection by reusing credentials. The rest of the communication is insecure.