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 details)

Uploaded Source

File details

Details for the file cgiauth-0.9.1.tar.gz.

File metadata

  • Download URL: cgiauth-0.9.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cgiauth-0.9.1.tar.gz
Algorithm Hash digest
SHA256 a2b0be0bb7e2a5a767d1fe8e56ba31ccfc3fa773f87da07fce8c19ce198e6f55
MD5 b873a09f5f2163be03e7f2a0ab9241dd
BLAKE2b-256 962d4a451127b982fbb4bc34f85a730fd264c1789de4f653dee5ae6db76ddcfc

See more details on using hashes here.

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