Skip to main content

An addon for hardening Plone

Project description

image Coveralls image Latest Version Egg Status image License

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:

  1. Event subscribers active on created or modified objects.
  2. 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!

Contribute

Support

If you are having issues, please let us know in the issue tracker.

License

The project is licensed under the GPLv2.

Contributors

Changelog

0.0.2 (2025-01-15)

  • Allow Python 3.8. [ale-rt]

0.0.1 (2025-01-15)

  • Initial release. [ale-rt]

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

collective_hardening-0.0.2.tar.gz (21.4 kB view details)

Uploaded Source

File details

Details for the file collective_hardening-0.0.2.tar.gz.

File metadata

  • Download URL: collective_hardening-0.0.2.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for collective_hardening-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5490063841e9513b8719f80b099561bfc9a8049e6f6188d1b074a9d8ff2d8b94
MD5 a44e03b5a7cf28b156fc5d8ab64addb2
BLAKE2b-256 317faff784600432595160957f66c94e42e2de7fd1c55f1857a4ba2e527e3a54

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