{ "info": { "author": "Donald Stufft", "author_email": "donald@stufft.io", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3" ], "description": "Guard\n=====\n\n.. image:: https://travis-ci.org/dstufft/guard.png?branch=master\n :target: https://travis-ci.org/dstufft/guard\n\n.. image:: https://coveralls.io/repos/dstufft/guard/badge.png?branch=master\n :target: https://coveralls.io/r/dstufft/guard?branch=master\n\n\nGuard is a collection of generic WSGI middlewares and utilities for improving\nthe security of a web application.\n\n\nContent Security Policy\n-----------------------\n\n``guard.ContentSecurityPolicy`` provides a WSGI middleware that can be used\nto provide a content security policy for a web application.\n\nUsage\n~~~~~\n\n.. code:: python\n\n import guard, wsgi_app\n\n # Default Policy\n app = guard.ContentSecurityPolicy(wsgi_app.application)\n\n # Custom Directives\n app = guard.ContentSecurityPolicy(wsgi_app.application, {\"img-src\": [\"*\"]})\n\n # Report Only\n app = guard.ContentSecurityPolicy(wsgi_app.application, report_only=True)", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dstufft/guard", "keywords": null, "license": "Apache License v2.0", "maintainer": null, "maintainer_email": null, "name": "guard", "package_url": "https://pypi.org/project/guard/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/guard/", "project_urls": { "Homepage": "https://github.com/dstufft/guard" }, "release_url": "https://pypi.org/project/guard/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "WSGI Middlewares for Web Application Security", "version": "1.0.1" }, "last_serial": 899726, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "dd5d26a84add0162e135d6b4b632e243", "sha256": "311c3bccad87dbd87619dd38dd7784129be3687ac9dafadf30a849d9978e1718" }, "downloads": -1, "filename": "guard-1.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "dd5d26a84add0162e135d6b4b632e243", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3709, "upload_time": "2013-10-21T15:14:40", "url": "https://files.pythonhosted.org/packages/62/24/488dbf2bbb56596ce62580ce9676bb2081fef8fcbe22c953cbdda76e2abf/guard-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f2ce362dbe023654df5bfd229b24e4e", "sha256": "cce6ce567dabf58bb51215766ac82dfcdb7bd8ac0474917d60d7d6d7f0082bce" }, "downloads": -1, "filename": "guard-1.0.1.tar.gz", "has_sig": true, "md5_digest": "2f2ce362dbe023654df5bfd229b24e4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2961, "upload_time": "2013-10-21T15:14:43", "url": "https://files.pythonhosted.org/packages/d1/6b/1bb7366192cd0b169823fda849811b1b35e2cdec052c66e6c138a7a06a87/guard-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dd5d26a84add0162e135d6b4b632e243", "sha256": "311c3bccad87dbd87619dd38dd7784129be3687ac9dafadf30a849d9978e1718" }, "downloads": -1, "filename": "guard-1.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "dd5d26a84add0162e135d6b4b632e243", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3709, "upload_time": "2013-10-21T15:14:40", "url": "https://files.pythonhosted.org/packages/62/24/488dbf2bbb56596ce62580ce9676bb2081fef8fcbe22c953cbdda76e2abf/guard-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f2ce362dbe023654df5bfd229b24e4e", "sha256": "cce6ce567dabf58bb51215766ac82dfcdb7bd8ac0474917d60d7d6d7f0082bce" }, "downloads": -1, "filename": "guard-1.0.1.tar.gz", "has_sig": true, "md5_digest": "2f2ce362dbe023654df5bfd229b24e4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2961, "upload_time": "2013-10-21T15:14:43", "url": "https://files.pythonhosted.org/packages/d1/6b/1bb7366192cd0b169823fda849811b1b35e2cdec052c66e6c138a7a06a87/guard-1.0.1.tar.gz" } ] }