Skip to main content

A framework for managing agent trust, such as public vs. private computers.

Project description

This project has tools for managing trusted user agents. For example, you might allow the user to indicate whether they are using a public or private computer and implement different policies for each. Or you might be using a two-factor authentication scheme, allowing the users to bypass the second factor on machines that they designate as trusted. This uses Django 1.4’s signed cookie facility and operates independently of sessions.

Short list of features:

  • request.agent.is_trusted tells you whether the request came from a trusted agent.

  • APIs to trust or revoke the agent that made a given request.

  • Global, per-user, and per-agent settings can set the duration of agent trust as well as an inactivity timeout.

  • Supports session-scoped agent trust for consistency of authorization policies.

  • Revoke all of a user’s previously trusted agents at any time.

The mechanisms by which a user is allowed to designate trusted agents is left entirely to clients of this library. For an application of this API using one-time passwords, see django-otp-agents, part of the django-otp suite.

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

django-agent-trust-0.2.2.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

django_agent_trust-0.2.2-py2.py3-none-any.whl (15.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-agent-trust-0.2.2.tar.gz.

File metadata

File hashes

Hashes for django-agent-trust-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a2b2f83c1ff42d9841292ddb3e08197a56eb3affd3057c935e8a38673f7e628c
MD5 0569a706bbfd81afe3cc6209eae2f5a9
BLAKE2b-256 00ded3ff6c6e0fd8a966ccf1c7513282623540f1bcf56d235cbc46a80beb7252

See more details on using hashes here.

Provenance

File details

Details for the file django_agent_trust-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_agent_trust-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9985de0d4b47c37f64943995d8b4ba881a9d432fcb67162a20ac94789a5e0731
MD5 26326ab88cb1503f785d8b167e020139
BLAKE2b-256 88b678a5437d3b7e6f515805e7ccffd1423bb1a8140c13eeb7fdc7eb07d24c0b

See more details on using hashes here.

Provenance

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