htpasswd Generator
Create the user:hash lines of an Apache or Nginx basic auth file
.htpasswd
Copy the passwords now: they can't be read back from the hashes.
Server configuration
Outside the web root, readable by the server.
Some browsers show it in the login prompt.
Apache (.htaccess or <Directory>)
Nginx (server or location block)