django-guardian alternatives

Looking for an alternative tool to replace django-guardian? During the review of django-guardian we looked at other open source tools. Based on their category, tags, and text, these are the ones that have the best match.

Top 3

  1. Bleach (sanitizing library for Django)
  2. django-security (Security add-ons for Django)
  3. django-axes (track failed login attempts for Django)

These tools are ranked as the best alternatives to django-guardian.

Alternatives (by score)

84

Bleach

Introduction

Bleach is a library for Django that can sanitize HTML by escaping and stripping harmful content. It provides a filter for untrusted content and disarms potential unwanted scripts from the input. This may be useful to apply to data that is transmitted via HTML forms or otherwise.

Project details

Bleach is written in Python.

Strengths and weaknesses

  • + More than 25 contributors
  • + More than 1000 GitHub stars
  • + The source code of this software is available

    Typical usage

    • Data sanitizing

    Bleach review

    74

    django-security

    Introduction

    Django-security is an extension for developers seeking more security measures in their Django project. The toolkit can set or activate particular settings improving security. Examples of these settings include the use of particular HTTP headers that increase the security defenses of the web application.

    Part of the toolkit is middleware to enforce password strength, set the do-not-track header, enable content security policy (CSP), enable privacy policy (P3P), limit session length, use HTTPS (HSTS), XSS protection, and more.

    Project details

    django-security is written in Python.

    Strengths and weaknesses

    • + More than 10 contributors
    • + The source code of this software is available

      Typical usage

      • Application security

      django-security review

      85

      django-axes

      Introduction

      This tool may be used by developers that work with the Django framework. It adds a security layer on top of the application by looking at login attempts and track them.

      Project details

      django-axes is written in Python.

      Strengths and weaknesses

      • + More than 50 contributors
      • + The source code of this software is available

        Typical usage

        • Application security

        django-axes review

        85

        django-defender (Django Defender)

        Introduction

        Django-defender is a reusable app for Django that blocks people from performing brute forcing login attempts.

        Project details

        django-defender is written in Python.

        Strengths and weaknesses

        • + More than 10 contributors
        • + The source code of this software is available

          Typical usage

          • Application security

          django-defender review

          74

          django-sudo

          Introduction

          For some destructive events like removing an account, you may want to revalidate if the user really wants to continue. To ensure it is the actual owner of the account, django-sudo requests authentication again within the web application. GitHub uses this as well for some events like ownership changes and deletions.

          Project details

          django-sudo is written in Python.

          Strengths and weaknesses

          • + More than 10 contributors
          • + The source code of this software is available

            Typical usage

            • Application security

            django-sudo review

            Some relevant tool missing as an alternative to django-guardian? Please contact us with your suggestion.