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.

This is an early release and forward API compatibility is not guaranteed. Feedback is welcome.

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.1.2.tar.gz (15.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-agent-trust-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ab78cf8c6f0d366fd56b6557221666836a919667e53d84700c29146b91758964
MD5 e65c3ea8f0de9359f5a275d027bb97e4
BLAKE2b-256 f72382403cbc92600665201217cff259e8df2bff567bc1a01d3b77486c5d266c

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