dzove855 / Bash-web-server

A purely bash web server, no socat, netcat, etc...
MIT License
934 stars 46 forks source link

Support basic auth #8

Closed iaGuoZhi closed 1 year ago

iaGuoZhi commented 1 year ago
  1. Encoding user' account, password by base64.
  2. If authetification failed, return 401.
  3. accounts and passwords are saved in file.