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.10.tar.gz (21.8 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.10-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-flashpolicies-1.10.tar.gz
Algorithm Hash digest
SHA256 55254dff09d77bf1fc6f6614267d698a28cd912104f28bef189b00d03a04e295
MD5 fd556c9bd65e6e72c59c598f0e0f782b
BLAKE2b-256 48c0829e25df786dae042c8e12b6bd32a0488770c95cb6e5c3d327d67480bc05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_flashpolicies-1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ed602707ae66d2c97340cb4050a453c9f6d25220fa363e3ad5f6f1c1becd2939
MD5 42043781f05894deb2e7b085fa4f2ed2
BLAKE2b-256 427cda2112bb980ff209a6c2aa29d66da7567f06ae74ba8f5e9143daabbc688c

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