mongoose/docs/http/digest-auth.md
Бобби 6e3e5560d0 Move mongoose docs to https://cesanta.com/docs/
PUBLISHED_FROM=ebf5568abe82952ab2751298185a10189098013f
2017-10-16 15:18:24 +00:00

485 B

Digest Authentication

Mongoose has a built-in Digest (MD5) authentication support. In order to enable Digest authentication, create a file .htpasswd in the directory you would like to protect. That file should be in the format that Apache's htdigest utility.

You can use either Apache htdigest utility, or Mongoose pre-build binary at https://www.cesanta.com/binary.html to add new users into that file:

mongoose -A /path/to/.htdigest mydomain.com joe joes_password