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.conf.urls import url

from flashpolicies.views import allow_domains

urlpatterns = [
    # ...your other URL patterns here...
    url(r'^crossdomain.xml$',
        allow_domains,
        {'domains': ['media.yoursite.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.11.tar.gz (20.7 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.11-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: django-flashpolicies-1.11.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1

File hashes

Hashes for django-flashpolicies-1.11.tar.gz
Algorithm Hash digest
SHA256 6ead3a7ccef9129082e1551805de1ead2a4d1ae29eaea255f53eb7f6f234c21a
MD5 7c787c12857ee9845737557188126672
BLAKE2b-256 bf9b1add43f373a0a6af973457a96ccac97ad1dede36b83cde17e65799de3bfd

See more details on using hashes here.

File details

Details for the file django_flashpolicies-1.11-py2.py3-none-any.whl.

File metadata

  • Download URL: django_flashpolicies-1.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1

File hashes

Hashes for django_flashpolicies-1.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 239d7c4518d6117ae9bee35385d12d978a2419f15cbd713c5b38e1a2ac100bbd
MD5 b06f1d76cd932e31b92a292d545e4463
BLAKE2b-256 2c144bfe350cc2e8500e2151fb9c54422770634d5a35f0b35798a9923a78302b

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