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
Built Distribution
Close
Hashes for django-flashpolicies-1.12.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | caf72aa371b61768f6e0925b59bdc3c2c6b5c66ba50e2fdf41058ee65a1795e7 |
|
MD5 | f6e68ee4b9d0a04098e0d1bc6288c747 |
|
BLAKE2b-256 | 950744ce6ad961d2b516437ecf915a34130121137e5cbfa72ed8575565a8d176 |
Close
Hashes for django_flashpolicies-1.12.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4e48b3261be7acde67c32d14b43356d18f8a1d8b11d16dcdcc15d9d14021979 |
|
MD5 | d58eac374ad62094f33aa8dbf4a9d360 |
|
BLAKE2b-256 | 0cfa5d50be87a73f4b7930ae18a773d12087f41a870eb862390cfc66401f90f2 |