Description: Cherokee is a flexible, very fast, lightweight Web server. It is implemented entirely in C, and has no dependencies beyond a standard C library. It is embeddable and extensible with plug-ins. It supports on-the-fly configuration by reading files or strings, TLS/SSL (via GNUTLS or OpenSSL), virtual hosts, authentication, cache friendly features, PHP, custom error management, and much more.
Keywords: cherokee web server httpd http

## Index → Modules → Validators

### Validator: Plain

The plain validator uses a flat-file to authenticate users.

#### Syntax

Each line defines a user. The username and password are delimited by a ``:`` colon.

#### Parameters

Parameter | Description
--- | ---
passwdfile | Required. The location of the user/pass file.

The parameter that specifies the file containing the pairs user:password is mandatory. `Plain` authentication can use both `Basic` and `Digest` schemes.

You can and should place the password file outside the web tree to prevent remote users from accessing the list.

Security tab

This could be the contents of the the file `/var/www/passwd` specified in this example:

testuser:testpassword

cherokee:webserver

This would only allow access to the users `cherokee` and `testuser`.

#### Compatibility

This validator is compatible with both basic and digest schemes.