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.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


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.12.1.tar.gz (23.1 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.12.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-flashpolicies-1.12.1.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1

File hashes

Hashes for django-flashpolicies-1.12.1.tar.gz
Algorithm Hash digest
SHA256 caf72aa371b61768f6e0925b59bdc3c2c6b5c66ba50e2fdf41058ee65a1795e7
MD5 f6e68ee4b9d0a04098e0d1bc6288c747
BLAKE2b-256 950744ce6ad961d2b516437ecf915a34130121137e5cbfa72ed8575565a8d176

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_flashpolicies-1.12.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1

File hashes

Hashes for django_flashpolicies-1.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e48b3261be7acde67c32d14b43356d18f8a1d8b11d16dcdcc15d9d14021979
MD5 d58eac374ad62094f33aa8dbf4a9d360
BLAKE2b-256 0cfa5d50be87a73f4b7930ae18a773d12087f41a870eb862390cfc66401f90f2

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