Skip to content

External Authentication Module for Apache HTTP Server - mod_authnz_external

Notifications You must be signed in to change notification settings

phokz/mod-auth-external

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mod-authnz-external Build Status

External Authentication Module for Apache HTTP Server - Apache License 1.0

Previous Maintainers: Jan Wolter (http://www.unixpapa.com), Tyler Allison ([email protected])

Original Author: Nathan Neulinger ([email protected])

Mod_authnz_external is a flexible tool for building custom basic authentication systems for the Apache HTTP Server. "Basic Authentication" is a type of authentication built into the HTTP protocol, in which the browser automatically pops up a login box when the user requests a protected resource, and the login ids and passwords entered are checked by Apache. Mod_auth*_external allows the password checking normally done inside Apache to be done by an separate external program running outside of Apache.

high-level overview diagram of mod_authnz_external

Support Matrix

Apache Versionmod_authnz_external Versionmod_authz_unixgroup VersionSupported?
Apache 2.4 mod_authnz_external 3.3.x mod_authz_unixgroup 1.2.x Yes
mod_authz_unixgroup 1.1.x -
Apache 2.2 mod_authnz_external 3.1.x or 3.2.x mod_authz_unixgroup 1.0.x -
Apache 2.0 mod_auth_external 2.2.x - -
Apache 1.3 mod_auth_external 2.1.x - -

Older versions are provided on an as-is basis in this repo's branch list.

Security Considerations

Older versions of mod_auth_external would by default pass logins and passwords into the authentication module using environment variables. This is insecure on some versions of Unix where the contents of environment variables are visible on a 'ps -e' command. In more recent versions, the default is to use a pipe to pass sensitive data. This is secure on all versions of Unix, and is recommended in all installations.

People using mod_auth*_external with pwauth to authenticate from system password databases should be aware of the innate security risks involved in doing this.

mod_authz_unixgroup

This repo is also the home of mod_authz_unixgroup, a unix group access control module for the Apache HTTP Server.

Source is available in the mod_authz_unixgroup subfolder, and releases can be found tagged with the "mod_authz_unixgroup-" prefix here.