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.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.12.2.tar.gz (23.1 kB view hashes)

Uploaded Source

Built Distribution

django_flashpolicies-1.12.2-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page