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 details)
Built Distribution
File details
Details for the file django-flashpolicies-1.14.tar.gz
.
File metadata
- Download URL: django-flashpolicies-1.14.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29c38b1eb291fa3d24cb123637cbf8f3ea712078fbba1441a68cdb49d8c439e0 |
|
MD5 | 88b404ba79bd5506366b411c77242af7 |
|
BLAKE2b-256 | 0b2d1587218b807f21b1a7713357ef507a38535ccc003274a491ff18972a06c0 |
File details
Details for the file django_flashpolicies-1.14-py3-none-any.whl
.
File metadata
- Download URL: django_flashpolicies-1.14-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eadda165116dcf5bae47acb09db14a6967107fc98a904055725bca5390fe508 |
|
MD5 | 806f57d0eb7ec9621a0c3c9679d2b3c1 |
|
BLAKE2b-256 | 8dc02cc90a84c4a1fda2f3b3cdeac3015d39b213ca6fd90d9de1e19f3930c606 |