Skip to main content
Help us improve Python packaging – donate today!

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

Release history Release notifications

This version
History Node

0.9.1

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 Jan 6, 2017

Supported by

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