Flash cross-domain policies for Django sites
Project description
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for django-flashpolicies-1.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cab3f621d523212e163e57c285cfae3a27203ccaf859cbc121b44005cc4ead9 |
|
MD5 | c7f3a41090d692690faf3f188b9cdc76 |
|
BLAKE2b-256 | f84fd16e6a402fedc706c65e1ce9e7cde3e996739e41ea159c4f91259d907d99 |
Close
Hashes for django_flashpolicies-1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa89e19444e0f0ab79f7571c2a814956377e1abaa8436b123d7924990c21fbfa |
|
MD5 | ba7c0332bda438b87eaa643e0745a3b4 |
|
BLAKE2b-256 | 5480008ad4511bd8e7a024d7563acb4cfc27cd26cea5e9fd443de1db9bfc37ae |