Skip to main content

PyPI version

Flask-ACSecure

Access Secure middleware for Flask, 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 Flask-ACSecure
    
  • Config and Usage

    from flask_acsecure import ACSecure
    
    app.config.update({
      'ACSECURE_APP_ID': 'my_app_id',
      'ACSECURE_APP_TOKEN': 'my_app_token',
    })
    
    ACSecure(app)
    
    @app.errorhandler(403)
    def forbidden(e):
      return { 'message': 'forbidden' }
    
    @app.route('/')
    def index():
      return { 'message': 'ok' }
    

Images

register

register.JPG

create project

create-project.JPG

project ID and Token

console.JPG

Metadata

Release files for Flask-ACSecure 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-ACSecure 0.1.2
File Size Uploaded Provenance
Flask-ACSecure-0.1.2.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Flask-ACSecure 0.1.2
File Interpreter ABI Platform
Flask_ACSecure-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / Flask-ACSecure-0.1.2.tar.gz

Download URL Flask-ACSecure-0.1.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dff4440291f811fcf2cd8f1b755be33118570444e46d4a3972300f8589750747
BLAKE2b-256 checksum
How to use checksums
0049af11d006df4a3b3ee8380d5fd55342573ae7d21d41c0172f043e8cd49959
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

Release files / Flask_ACSecure-0.1.2-py3-none-any.whl

Download URL Flask_ACSecure-0.1.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ed49339e03fb98ad63f839d07eab0fd2cea20ee8dbd19dba4b6f321b236f30c
BLAKE2b-256 checksum
How to use checksums
7a1eb79fe8fe46838d4685df5e14f3ef11b0d72b593aa11aeff0e48f839707c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

Security for Flask-ACSecure 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page