What is htpasswd?
A .htpasswd file contains one or more credentials that will be prompted for authentication when an user calls the corresponding web-page with a proxy server (i.e. Apache httpd or Nginx) that has enabled htaccess/htpasswd protection. The .htpasswd file location usually then is just is linked in the .htaccess file.