collective.hardening is an add-on designed to enhance Plone security by adding configurable features that help safeguard your site.
-
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.
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.
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.
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.
The Syslab.com team.
Put your name here, you deserve it!
- Alessandro Pisa, Syslab.com
- Issue Tracker: https://github.com/collective/collective.hardening/issues
- Source Code: https://github.com/collective/collective.hardening
If you are having issues, please let us know in the issue tracker.
The project is licensed under the GPLv2.