# PAM validator

The PAM validator uses the Pluggable Authentication Modules to validate the user and passwords pairs in order to access protected resources.

This validator only works with Basic authentication.

| Notice This validator only works if the server runs as root

## Compatibility

This validator only works with Basic authentication, it's not suitable for HTTP Digest.

## Examples

    Directory /protected {
       Auth Basic {
          Method pam
       }
    }

Requires a valid user and password system pair to access the protected directory.

    Extension iso {
       Auth Basic {
          Method pam
          User alo, mark
       }
    }

System users alo and mark are the only ones allowed to download ISO images.