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.

Source Distribution

cgiauth-0.9.1.tar.gz (15.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page