Skip to main content

Framework free Authentication Methods for CGI scripts

Project description

Includes the following classes:

* `BasicAuth' which depends on web server "Basic" authentication
* Cookie based classes `SessionCookieAuth' and `StatelessCookieAuth'
* Hidden field based classes `SessionHiddenAuth' and
`StatelessHiddenAuth'

The Cookie and Hidden classes use JavaScript/SHA1 hashing to avoid
sending passwords as clear text.

Class constructor must be called BEFORE HTTP headers are output.
All Authentication object constructors either return (possibly having
output cookie headers) or exit (having output a login form, or error
message).

cgiauth.py functions as a test if invoked as a CGI script, and as a
password file creator if invoked from the command line.

Developed/tested under Python 2.5

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cgiauth-0.9.1.tar.gz (15.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page