Skip to main content

Flash cross-domain policies for Django sites

Project description

https://travis-ci.org/ubernostrum/django-flashpolicies.svg?branch=master

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


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.9.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_flashpolicies-1.9-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file django-flashpolicies-1.9.tar.gz.

File metadata

File hashes

Hashes for django-flashpolicies-1.9.tar.gz
Algorithm Hash digest
SHA256 87df8c9bbb5acc653b91c6e6fe3822a1e9121420ccc6aabc1475f7c49b441413
MD5 07079db2ffead08517936fc878a9df57
BLAKE2b-256 08453a51b602bbbbdbce320733b6d67e6e8352006c63d73d518edb982dfe3278

See more details on using hashes here.

File details

Details for the file django_flashpolicies-1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for django_flashpolicies-1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 93656dd0ab16e6bab74ced109f50321d131040ac92d041e9dc4d009988210949
MD5 58d96beb2437657a3cec68f675598795
BLAKE2b-256 b6ebb786a097586859f6ab61a081751235e1c1f5993f21500c3617879a4dc7d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page