{ "info": { "author": "Dieter Maurer", "author_email": "dieter@handshake.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Zope2", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "This package allows to work around\nweaknesses in the web application server Zope's security subsystem.\nCurrently, it contains a single module ``proxy``.\n\nproxy\n-----\n\nIn principle, Zope makes a clear distinction between trusted code\n(which comes from the file system and cannot be modified through-the-web)\nand untrusted code (which might be tangled with through-the-web).\nTrusted code is unrestricted by Zope's security subsystem,\nuntrusted code has permission checks on each object and method access.\n\nUnfortunately, occasionnally, trusted code performs its own\nsecurity checks -- and can raise ``Unauthorized`` exceptions even\nwhen called from other trusted code. The ``proxy`` module\nis destined to work around this behaviour.\nIt uses Zope's so called *proxy roles* to set up roles which\nshould be used for internal security checks.\n\nThe module defines the context manager ``proxy_roles(*roles)``,\ntypically used as follows:\n\n>>> with proxy_roles(role1, role2, ...):\n>>> ... perform any operation[s] with internal security checks ...\n\nThis sets up proxy roles *role1, role2, ...* to be used\nfor the internal security checks.\n\nUsually, the roles are ``'Manager', 'Authenticated'`` but can be anything.\nNote that proxy roles override any currently active user roles.\n\n\nHistory\n-------\n\n2.0\n\n Make Python 3/Zope 4 compatible; drop support for Python 2.6 (and below)\n\n New \"context manager\" interface.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/dm.zopepatches.security", "keywords": "application development menu web security proxy", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "dm.zopepatches.security", "package_url": "https://pypi.org/project/dm.zopepatches.security/", "platform": "", "project_url": "https://pypi.org/project/dm.zopepatches.security/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/dm.zopepatches.security" }, "release_url": "https://pypi.org/project/dm.zopepatches.security/2.0/", "requires_dist": null, "requires_python": "", "summary": "Workarounds related to Zope's security subsystem.", "version": "2.0" }, "last_serial": 5180821, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "fe7c8d4c6a7b2a015a711be96c8ca46e", "sha256": "dc5d96fbca3a74885e150367081620e5a09165d3c7297fbaa532dc5468bad4f1" }, "downloads": -1, "filename": "dm.zopepatches.security-1.0.tar.gz", "has_sig": false, "md5_digest": "fe7c8d4c6a7b2a015a711be96c8ca46e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2873, "upload_time": "2010-02-19T14:39:24", "url": "https://files.pythonhosted.org/packages/f3/02/29a27ffd8bc2031c671473f3ed312b04f7a937d1e3ffee1f651d92ef19a3/dm.zopepatches.security-1.0.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "ba365c9b1e641e6709c4aca6505006bd", "sha256": "7d4b47c2d2f416863ee4944dcb7881f17bd086dd32ee51fde7d5edd7635babaf" }, "downloads": -1, "filename": "dm.zopepatches.security-2.0.tar.gz", "has_sig": false, "md5_digest": "ba365c9b1e641e6709c4aca6505006bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3171, "upload_time": "2019-04-24T07:49:11", "url": "https://files.pythonhosted.org/packages/3d/73/7d43352365578afd85ee261d22eeaf4db4cbcc0ee751df7678fda0363fcd/dm.zopepatches.security-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ba365c9b1e641e6709c4aca6505006bd", "sha256": "7d4b47c2d2f416863ee4944dcb7881f17bd086dd32ee51fde7d5edd7635babaf" }, "downloads": -1, "filename": "dm.zopepatches.security-2.0.tar.gz", "has_sig": false, "md5_digest": "ba365c9b1e641e6709c4aca6505006bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3171, "upload_time": "2019-04-24T07:49:11", "url": "https://files.pythonhosted.org/packages/3d/73/7d43352365578afd85ee261d22eeaf4db4cbcc0ee751df7678fda0363fcd/dm.zopepatches.security-2.0.tar.gz" } ] }