Try for free Log in

CloudFilt on Django

For Django projects, CloudFilt is one function to import in your views and call first, plus the front end snippet in your base template.

Free up to 3,000 requests per month and per site. No credit card required.

Server code FREE

In the box

1×
Django project, allowed to make outbound HTTPS requests
1×
line of HTML, in your base template
1×
function call at the top of each view

Fitting instructions

5 steps, from sign-up to the first verdict.

  1. Create your free account and add your website

    CloudFilt gives you a public key and a private key, free up to 3,000 requests per month.

  2. Add the front end snippet

    Paste it before the </head> tag of your base template.

  3. Paste the back end code

    In your views, or in a file of your project.

  4. Call cloudFiltInterception

    Import it in your views and call it at the beginning of every function that serves a route.

  5. Watch the verdicts

    Allowed, challenged and blocked requests show up in your live journal within the minute.

    Allowed Challenge Blocked

How it works

With Django, CloudFilt runs in two places. The front end snippet, one line of HTML in your pages, loads the CloudFilt script that spots automation in the browser. The back end code is one function, cloudFiltInterception, called at the top of your views: it sends the IP, the URL and the user agent of the request to CloudFilt and applies the verdict before your page is built.

Real visitors go through, doubtful ones get a captcha, bad bots are blocked. The code of your dashboard already holds your keys: copy, paste, deploy. Your rules (countries, URLs, anti-flood thresholds) are then edited from the dashboard, without a new deployment.

What you get

  • Front and back end analysis
  • Code generated with your keys already filled in
  • Captcha for doubtful visitors, not a hard block
  • Search engine crawlers verified and let through

From request to verdict

Once Django is plugged in, each request is scored from the front and the back end, then allowed, challenged or blocked.

  1. Visitor

    A browser, a script or a bot sends a request to your website or API.

  2. Nearest point of presence

    The CDN WAF, or your plugin, hands the request to the closest point of presence.

  3. Signals

    IP reputation, behaviour, rate, country and your own rules, weighed in real time.

  4. Verdict

    • Allowed to your site
    • Challenge captcha first
    • Blocked never reaches you

Other integration options

All integrations