WebGlossary.info
.htpasswd
- A flat file used to store usernames and password for basic authentication on an Apache HTTP Server. The name of the file is given in the .htaccess configuration, and can be anything although “.htpasswd” is the canonical name. .htpasswd is often maintained with the shell command “htpasswd” which can add, delete, and update users, and will properly encode the password for use (so that it is easily checked, but not reversed back to the original password). The file consists of rows, each row corresponding to a username, followed by a colon, followed by a string containing the hashed password optionally prepended by an algorithm specifier (
$2y$
, $apr1$
, or {SHA}
) or salt. The hash historically used “Unix crypt” style with MD5 or SHA1 as common alternatives, although as of version 2.2.18 a variant of MD5 is now the default. ← Wikipedia
- Previous term: .htaccess
- Next term: .NET
- Random term: Page parking