Skip to main content

Flash cross-domain policies for Django sites

Project description

CI status image

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.13.tar.gz (25.4 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.13-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-flashpolicies-1.13.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4

File hashes

Hashes for django-flashpolicies-1.13.tar.gz
Algorithm Hash digest
SHA256 39c7c50828aec2a45f59d76ba308ddfe172057bb52584d43c1cfbec7f4e2ca54
MD5 942c7edb100e809e960131d41f0c4b76
BLAKE2b-256 d07b5c47092b8547ad178026eee2bd28712afb37cdcc0cf26098a0efa8252493

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_flashpolicies-1.13-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4

File hashes

Hashes for django_flashpolicies-1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 f56a25a7b37897def2c94ae17292c9624fe02a680adf6c6fcddd042be78bac07
MD5 c29e002f9c7737ff5a493b78f6febfe4
BLAKE2b-256 597891a7f0763df1ef57cff5652f057c73c8a74d330532c07202e44dee8e8b59

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