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.11.tar.gz
(20.7 kB
view hashes)
Built Distribution
Close
Hashes for django-flashpolicies-1.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ead3a7ccef9129082e1551805de1ead2a4d1ae29eaea255f53eb7f6f234c21a |
|
MD5 | 7c787c12857ee9845737557188126672 |
|
BLAKE2b-256 | bf9b1add43f373a0a6af973457a96ccac97ad1dede36b83cde17e65799de3bfd |
Close
Hashes for django_flashpolicies-1.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239d7c4518d6117ae9bee35385d12d978a2419f15cbd713c5b38e1a2ac100bbd |
|
MD5 | b06f1d76cd932e31b92a292d545e4463 |
|
BLAKE2b-256 | 2c144bfe350cc2e8500e2151fb9c54422770634d5a35f0b35798a9923a78302b |