Skip to main content

Access Secure Django Middleware

Project description

PyPI version

django-acsecure

Access Secure middleware for Django, for logging, anti-spamming and black/white list...

Install

  • Go to https://logsecure.io, create an account and project. Remember project ID and keep project token in secret. (See images below for details)

  • pip install django-acsecure
    
  • In settings.py, put your project ID and Token, and put middleware in MIDDLEWARE

    ACCESS_SECURE_APPID = 'my-app-id'
    ACCESS_SECURE_TOKEN = 'my-app-token'
    
    MIDDLEWARE = [
        'django.middleware.security.SecurityMiddleware',
        'django.contrib.sessions.middleware.SessionMiddleware',
        ...
        'acsecure.middleware.AccessSecureMiddleware',
    ]
    

Images

register

register.JPG

create project

create-project.JPG

project ID and Token

console.JPG

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-acsecure-0.1.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

django_acsecure-0.1.3-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

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