Skip to main content

Flash cross-domain policies for Django sites

Project description

https://travis-ci.org/ubernostrum/django-flashpolicies.svg?branch=master

This application provides management of Flash cross-domain access policies for Django sites. For example, the following URL pattern is all you’d need to set up cross-domain access for Flash files served from your media server:

from django.urls import path

from flashpolicies.views import allow_domains

urlpatterns = [
    # ...your other URL patterns here...
    path(
        'crossdomain.xml',
        allow_domains,
        {'domains': ['media.example.com']}
    ),
]

Various other views are included, handling other common and not-so-common cases, as well as utilities for generating custom cross-domain policies.

Full documentation for all functionality is also included and available online.

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-flashpolicies-1.12.2.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_flashpolicies-1.12.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file django-flashpolicies-1.12.2.tar.gz.

File metadata

  • Download URL: django-flashpolicies-1.12.2.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1

File hashes

Hashes for django-flashpolicies-1.12.2.tar.gz
Algorithm Hash digest
SHA256 002be6d4c3dce921eb20a663578bd65835586d550be41590671f71dcc916f301
MD5 e616a2c5e915396edf42c4bc652c24bd
BLAKE2b-256 4422085b5b347f05933975152d433a03d21e12a73a2ba326483ad2e7a4bb9fb3

See more details on using hashes here.

File details

Details for the file django_flashpolicies-1.12.2-py3-none-any.whl.

File metadata

  • Download URL: django_flashpolicies-1.12.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1

File hashes

Hashes for django_flashpolicies-1.12.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b69b37aafb23827616f1cdcaba59b45a9a54e2256960cfb7a0afd8e9c023bc98
MD5 462d483054b66eacb2248d0738657e54
BLAKE2b-256 f192e8608ae9b7c158f56f419d9ac02db11519d009261547e168c08463da30f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page