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.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
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.14.tar.gz
(25.4 kB
view hashes)
Built Distribution
Close
Hashes for django-flashpolicies-1.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29c38b1eb291fa3d24cb123637cbf8f3ea712078fbba1441a68cdb49d8c439e0 |
|
MD5 | 88b404ba79bd5506366b411c77242af7 |
|
BLAKE2b-256 | 0b2d1587218b807f21b1a7713357ef507a38535ccc003274a491ff18972a06c0 |
Close
Hashes for django_flashpolicies-1.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eadda165116dcf5bae47acb09db14a6967107fc98a904055725bca5390fe508 |
|
MD5 | 806f57d0eb7ec9621a0c3c9679d2b3c1 |
|
BLAKE2b-256 | 8dc02cc90a84c4a1fda2f3b3cdeac3015d39b213ca6fd90d9de1e19f3930c606 |