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


Download files

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

Files for cgiauth, version 0.9.1
Filename, size File type Python version Upload date Hashes
Filename, size cgiauth-0.9.1.tar.gz (15.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page