collective.hardening
collective.hardening is an add-on designed to enhance Plone security by adding configurable features that help safeguard your site.
Features
-
Dedicated Control Panel Easily configure security-related settings from one central location.
-
File Type Restrictions Control which file types (by extension or MIME type) can be uploaded to your site.
-
Additional Improvements (TDB) Further enhancements are planned for upcoming releases.
Control Panel
A new control panel, accessible at /@@hardening-controlpanel, allows you to fine-tune the add-on's security settings.
Through this interface, you can define which file types are permissible and ensure that only safe files are uploaded to your Plone site.
You can access the control panel under the Security section of the main Plone control panel.
File Type Restrictions
Using the control panel, you can specify disallowed MIME types or file extensions. This flexibility helps prevent the upload of potentially harmful files, bolstering your site's security.
The implementation is based on:
- Event subscribers active on created or modified objects.
- A widget validator that checks the file type on upload.
Installation
To install collective.hardening, add it to your buildout configuration as follows:
[instance]
eggs +=
collective.hardening
After updating the configuration, run buildout:
bin/buildout
And restart your Plone instance.
Authors
The Syslab.com team.
Contributors
Put your name here, you deserve it!
- Alessandro Pisa, Syslab.com
Contribute
- Issue Tracker: https://github.com/collective/collective.hardening/issues
- Source Code: https://github.com/collective/collective.hardening
Support
If you are having issues, please let us know in the issue tracker.
License
The project is licensed under the GPLv2.
Contributors
- ale-rt, alessandro.pisa@gmail.com
Changelog
0.0.2 (2025-01-15)
- Allow Python 3.8. [ale-rt]
0.0.1 (2025-01-15)
- Initial release. [ale-rt]
Metadata
Release files for collective.hardening 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective_hardening-0.0.2.tar.gz | 21.4 kB | Without provenance | Details for collective_hardening-0.0.2.tar.gz |
Release files / collective_hardening-0.0.2.tar.gz
| Download URL | collective_hardening-0.0.2.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5490063841e9513b8719f80b099561bfc9a8049e6f6188d1b074a9d8ff2d8b94
|
|
BLAKE2b-256 checksum How to use checksums |
317faff784600432595160957f66c94e42e2de7fd1c55f1857a4ba2e527e3a54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.7
|
Security for collective.hardening 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.