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

76 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

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.