alt-design / alt-password-protect
Alt Password Protect - hide your pages behind a password
Package info
github.com/alt-design/Alt-Password-Protect-Addon
pkg:composer/alt-design/alt-password-protect
Requires
- statamic/cms: ^5.0|^6.0
This package is auto-updated.
Last update: 2026-04-01 14:24:08 UTC
README
Secure your Statamic entries with user-friendly, individualized password protection
Features
- Choose which entries to password protect
- Choose individual password for each entry
- Choose default password for all selected entries
- Hide password protected entries from collection listings, and then override if needed
- Extends, but doesn't affect, existing Statamic password protection
How to Install
You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:
composer require alt-design/alt-password-protect
How to Use
The Addon adds another tab onto entries, which allows you to select whether you want default password protection, a custom password, or none. You can set the default site password by going to Alt Password Protect in the control panel.
There's also the ability to remove the password protected items from collections, so that they don't show up in the collection listing. This is useful if you want to have a collection of password protected items, but don't want to show them in the collection listing. You can also tweak this setting in the settings (ofc).
You can then also override the hide using alt_protect_ignore="true" on your collection tag.
How to Uninstall
Warning: Do not remove the addon via Composer before running the prepare-uninstall command. If you do, any entries still using the addon's protection schemes will throw 403 errors because the drivers will no longer exist.
Step 1 — Run the prepare-uninstall command from your project root. This will strip the protect and alt_protect_custom_password fields from all entries that use this addon's protection schemes. Make sure you have a full backup before running this.
php artisan alt-password-protect:prepare-uninstall
Step 2 — Once the command has completed, remove the addon via Composer:
composer remove alt-design/alt-password-protect
Questions etc
Drop us a big shout-out if you have any questions, comments, or concerns. We're always looking to improve our addons, so if you have any feature requests, we'd love to hear them.
Starter Kits
Addons
- Alt Cookies Addon
- Alt Redirect Addon
- Alt Akismet Addon
- Alt Inbound Addon
- Alt Sitemap Addon
- Alt Password Protect Addon
- Alt Google 2FA Addon
Postcardware
Send us a postcard from your hometown if you like this addon. We love getting mail from other cool peeps!
Alt Design
St Helens House
Derby
DE1 3EE
UK