skip to navigation
skip to content

django-flashpolicies 1.9

Flash cross-domain policies for Django sites

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.

 
File Type Py Version Uploaded on Size
django-flashpolicies-1.9.tar.gz (md5, pgp) Source 2017-06-05 21KB
django_flashpolicies-1.9-py3-none-any.whl (md5, pgp) Python Wheel py3 2017-06-05 13KB