) The authorization system in Unix and Linux Web servers. Stored in the directory (folder) that needs to be secured, statements in the .htaccess file authorize certain users, and if permission is granted, all subdirectories in that directory can be accessed as well. The password is created from the command line or with an .htaccess generator program.
.htaccess Points to .htpasswd
The AuthUserFile line in .htaccess is a link to the actual password stored in another directory.
Sample .htaccess File
Sample .htpasswd file