Skip to main content
SiteAuth
--------
Middleware that applies Apache-like access control.

Add ``siteauth.middleware.SiteAuthenticationMiddleware`` after
``django.contrib.auth.middleware.AuthenticationMiddleware`` in
your ``MIDDLEWARE_CLASSES`` tuple.

Below are the settings:

- ``SITEAUTH_ACCESS_ORDER`` - either ``allow/deny`` or ``deny/allow``
(default)
- ``SITEAUTH_ALLOW_URLS`` - a list of regexes that explicitly allows
non-athenticated access
- ``SITEAUTH_DENY_URLS`` - a list of regexes that explicitly denies
non-authenticated access

Download files

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

Source Distribution

django-siteauth-1.1.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file django-siteauth-1.1.0.tar.gz.

File metadata

File hashes

Hashes for django-siteauth-1.1.0.tar.gz
Algorithm Hash digest
SHA256 20de9ba958db462997d6a77a1591a650c6b571aae8f68c910ca2934f66b5e442
MD5 cc329ff6be69171972b6a948f511fd49
BLAKE2b-256 e41ad114a8fde1b9ce2cdb01f7535a04202a6ee8058da857ebe7c310676b0401

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 file

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page