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.

Files for django-flashpolicies, version 1.13
Filename, size File type Python version Upload date Hashes
Filename, size django_flashpolicies-1.13-py3-none-any.whl (7.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-flashpolicies-1.13.tar.gz (25.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page