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.12.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-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django-flashpolicies-1.12.tar.gz
Algorithm Hash digest
SHA256 0cab3f621d523212e163e57c285cfae3a27203ccaf859cbc121b44005cc4ead9
MD5 c7f3a41090d692690faf3f188b9cdc76
BLAKE2b-256 f84fd16e6a402fedc706c65e1ce9e7cde3e996739e41ea159c4f91259d907d99

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for django_flashpolicies-1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 fa89e19444e0f0ab79f7571c2a814956377e1abaa8436b123d7924990c21fbfa
MD5 ba7c0332bda438b87eaa643e0745a3b4
BLAKE2b-256 5480008ad4511bd8e7a024d7563acb4cfc27cd26cea5e9fd443de1db9bfc37ae

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