Skip to main content

Security framework for Zope.

Project description

https://travis-ci.org/zopefoundation/AccessControl.svg?branch=master https://coveralls.io/repos/github/zopefoundation/AccessControl/badge.svg?branch=master Current version on PyPI Supported Python versions

AccessControl

AccessControl provides a general security framework for use in Zope.

Changelog

For changes before version 3.0, see HISTORY.rst.

4.3 (2021-07-30)

  • Fix a remote code execution issue by preventing access to string.Formatter from restricted code.

4.2 (2020-04-20)

  • Add missing permission Manage WebDAV Locks

  • Fix regression for BBB import of `users.UnrestrictedUser (#94)

  • Add a check if database is present in .owner.ownerInfo. (#91).

4.1 (2019-09-02)

  • Python 3: Allow iteration over the result of dict.{keys,values,items} (#89).

4.0 (2019-05-08)

Changes since 3.0.12:

  • Add support for Python 3.5, 3.6, 3.7 and 3.8.

  • Restore simple access to bytes methods in Python 3 (#83)

  • Clarify deprecation warnings for several BBB shims. (#32)

  • Add a test to prove that a user folder flag cannot be acquired elsewhere. (#7)

  • Tighten basic auth string handling in BasicUserFolder.identify (#56)

  • Prevent the Zope 4 ZMI from showing an add dialog for the user folder. (#82)

  • Fix order of roles returned by AccessControl.rolemanager.RoleManager.userdefined_roles.

  • Add configuration for zodbupdate.

  • Add TaintedBytes besides TaintedString in AccessControl.tainted. (#57)

  • Security fix: In str.format, check the security for attributes that are accessed. (Ported from 2.13).

  • Port override_container context manager here from 2.13.

  • Add AppVeyor configuration to automate building Windows eggs.

  • Fix for compilers that only support C89 syntax (e.g. on Windows).

  • Sanitize and test RoleManager role handling.

  • Depend on RestrictedPython >= 4.0.

  • #16: Fixed permission handling by avoiding column and row numbers as identifiers for permissions and roles.

  • Extract .AuthEncoding to its own package for reuse.

  • Declare missing dependency on BTrees.

  • Drop Record dependency, which now does its own security declaration.

  • Remove leftovers from history support dropped in Zope.

  • Remove duplicate guard against * imports. (#60)

3.0.12 (2015-12-21)

3.0.11 (2014-11-02)

  • Harden test fix for machines that do not define localhost.

3.0.10 (2014-11-02)

  • Test fix for machines that do not define localhost.

3.0.9 (2014-08-08)

  • GitHub #6: Do not pass SecurityInfo instance itself to declarePublic/declarePrivate when using the public/private decorator. This fixes Conflicting security declarations warnings on Zope startup.

  • LP #1248529: Leave existing security manager in place inside RoleManager.manage_getUserRolesAndPermissions.

3.0.8 (2013-07-16)

  • LP #1169923: ensure initialization of shared ImplPython state (used by ImplC) when using the “C” security policy. Thanks to Arnaud Fontaine for the patch.

3.0.7 (2013-05-14)

  • Remove long-deprecated ‘Shared’ roles support (pre-dates Zope, never used by Zope itself)

  • Prevent infinite loop when looking up local roles in an acquisition chain with cycles.

3.0.6 (2012-10-31)

  • LP #1071067: Use a stronger random number generator and a constant time comparison function.

3.0.5 (2012-10-21)

  • LP #966101: Recognize special zope2.Private permission in ZCML role directive.

3.0.4 (2012-09-09)

  • LP #1047318: Tighten import restrictions for restricted code.

3.0.3 (2012-08-23)

  • Fix a bug in ZopeSecurityPolicy.py. Global variable rolesForPermissionOn could be overridden if __role__ had custom rolesForPermissionOn.

3.0.2 (2012-06-22)

  • Add Anonymous as a default role for Public permission.

3.0.1 (2012-05-24)

  • Fix tests under Python 2.6.

3.0 (2012-05-12)

  • Added decorators for public, private and protected security declarations.

  • Update tests to take advantage of automatic test suite discovery.

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

AccessControl-4.3.tar.gz (110.2 kB view details)

Uploaded Source

Built Distributions

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

AccessControl-4.3-cp38-cp38-win_amd64.whl (142.3 kB view details)

Uploaded CPython 3.8Windows x86-64

AccessControl-4.3-cp38-cp38-win32.whl (140.8 kB view details)

Uploaded CPython 3.8Windows x86

AccessControl-4.3-cp37-cp37m-win_amd64.whl (141.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

AccessControl-4.3-cp37-cp37m-win32.whl (140.2 kB view details)

Uploaded CPython 3.7mWindows x86

AccessControl-4.3-cp36-cp36m-win_amd64.whl (141.9 kB view details)

Uploaded CPython 3.6mWindows x86-64

AccessControl-4.3-cp36-cp36m-win32.whl (140.1 kB view details)

Uploaded CPython 3.6mWindows x86

AccessControl-4.3-cp35-cp35m-win_amd64.whl (141.9 kB view details)

Uploaded CPython 3.5mWindows x86-64

AccessControl-4.3-cp35-cp35m-win32.whl (140.1 kB view details)

Uploaded CPython 3.5mWindows x86

AccessControl-4.3-cp27-cp27m-win_amd64.whl (139.7 kB view details)

Uploaded CPython 2.7mWindows x86-64

AccessControl-4.3-cp27-cp27m-win32.whl (138.9 kB view details)

Uploaded CPython 2.7mWindows x86

File details

Details for the file AccessControl-4.3.tar.gz.

File metadata

  • Download URL: AccessControl-4.3.tar.gz
  • Upload date:
  • Size: 110.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.10

File hashes

Hashes for AccessControl-4.3.tar.gz
Algorithm Hash digest
SHA256 7310aa6e898a980fb04f96646af74883cb88101650759790c3ee43b7ca23d3c9
MD5 f6aea7b123220b917a89359e69b37c45
BLAKE2b-256 01201d5f251eb5d354d32b6866f0c7b6e9e88272211beb49a4c544931c2babe2

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: AccessControl-4.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 142.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.0

File hashes

Hashes for AccessControl-4.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2489f49d96068c220f9791f588deb5ecf3cb738711e6b7fbc30fc72e2b189e42
MD5 a5b1ed32d1d2bbdc2442b55a523bd584
BLAKE2b-256 b5fc764dcaf70202f3291689dddb067be27067c75bee30385d47e1845f018bda

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp38-cp38-win32.whl.

File metadata

  • Download URL: AccessControl-4.3-cp38-cp38-win32.whl
  • Upload date:
  • Size: 140.8 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.0

File hashes

Hashes for AccessControl-4.3-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 e30f4f2fd4c1678a051590dbae99b4f292307e0380f7ba18c1408be008aab9b2
MD5 93c6b38a745b1f7da4be28c4a3cae9ab
BLAKE2b-256 e123d0902ef44fea34dbf6cb43590401e6c518d13248165e977a77a6ff18e587

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: AccessControl-4.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 141.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.5

File hashes

Hashes for AccessControl-4.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c3a45ef6b96b00b00d978824686f5ee60c8291609533086161775d2b61d0a5d3
MD5 dddef2f0c5a1541f730d56f45afd8804
BLAKE2b-256 4750496ddc4f5f7321df137ed1dbc02be40713a63912e174f615dccb2e23753d

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp37-cp37m-win32.whl.

File metadata

  • Download URL: AccessControl-4.3-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 140.2 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.5

File hashes

Hashes for AccessControl-4.3-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 1d7a14b460157691cdc6b3ecda08e8b18da5d5115954767b751b3f0ac2e9cdc5
MD5 c1fc9e822dded6489bdb41b103244d67
BLAKE2b-256 a4fbbf942030cb7e602cd566832b89c71ffc68b84975cb80abb908a25818c0a6

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: AccessControl-4.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 141.9 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8

File hashes

Hashes for AccessControl-4.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a94a85ddf61d402ea972ae0199a92aae7a97ff7044c2cbd8ee7512408497ac77
MD5 41617890cd3f1fae70b4c930a87a21e3
BLAKE2b-256 7e4d97b58c91cfc8ebf2c8a866e9d723647356dd8e3461d389bed1560ce0e3cb

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp36-cp36m-win32.whl.

File metadata

  • Download URL: AccessControl-4.3-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 140.1 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8

File hashes

Hashes for AccessControl-4.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 412943a38bec52b7166c1894ff5b570131effc4d68d6dde5b8f8f856b6257b9e
MD5 3c5f5f29874c1bbbd5a3ce8ba76801a5
BLAKE2b-256 5ec9ddd27cad37659639fb9eca2ebee5c332051e96e8d8c1a44bc614a693eda3

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: AccessControl-4.3-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 141.9 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.5.4

File hashes

Hashes for AccessControl-4.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 1811ef451b8f4500d594a215de99276c741cc252c0038f9c10f714497e544ccd
MD5 3d64bdbc11935db8e857da8ba931881c
BLAKE2b-256 4c5ac0cde467dc19d50445818c29ce403f3d8743fc69761b73d7377892100d49

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp35-cp35m-win32.whl.

File metadata

  • Download URL: AccessControl-4.3-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 140.1 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.5.4

File hashes

Hashes for AccessControl-4.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 b5e2fdd15294c07cfd212ec4779f7ab9193931d5bd5e3871912534019f428266
MD5 822573af89a8e409cd5a6c356e8da5bc
BLAKE2b-256 234defb9d2be0b1cb4fe07efbe262ca8679db419770ab497b4e2645e1b8d4d4d

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: AccessControl-4.3-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 139.7 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/2.7.17

File hashes

Hashes for AccessControl-4.3-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 b8e376a8decbb81720554ab9d6301dbbc9da70350a86958ab695d808dc76c384
MD5 a34bdc0fbd3b43a1b0caea66f807ae9a
BLAKE2b-256 a3098ad06bee12ddfe7797f588ea55d6d16cbc3f7a617872e7aec738f7887653

See more details on using hashes here.

File details

Details for the file AccessControl-4.3-cp27-cp27m-win32.whl.

File metadata

  • Download URL: AccessControl-4.3-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 138.9 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/2.7.17

File hashes

Hashes for AccessControl-4.3-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 b00ce0ea2ab6d5c1431a814730b6957f9975d7d6522831eb021d8d0359699670
MD5 a221cb85ae342b65264b07c95ae6f845
BLAKE2b-256 c8fc6d374af54e81b112d3bed5ebb9289442dfbc9c16dab225dec7f6b557ccb7

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