== link:index.html[Index] -> link:modules.html[Modules] -> link:modules_validators.html[Validators]

Validator: Htpasswd
~~~~~~~~~~~~~~~~~~~

This validator uses htpasswd files, which are very common on Apache
web sever environments. It stores one line per entry with the user
name and a hash of the password.

Cherokee supports the following hash algorithms:

    * MD5
    * MD5-crypt
    * Apache MD5
    * SHA1
    * crypt.

The htpasswd validator can use a flat-file generated by the Apache
link:http://httpd.apache.org/docs/2.0/programs/htpasswd.html[htpasswd]
command.

[[parameters]]
Parameters
^^^^^^^^^^

[cols="20%,80%",options="header"]
|=============================================================
|Parameter      |Description
|__passwdfile__ |Required. The location of the user/pass file.
|=============================================================

[[compatibility]]
Compatibility
^^^^^^^^^^^^^

This validator is compatible with the **basic** scheme, it's not suitable for HTTP Digest.