Password Protection

Locks individual documents in chosen collections behind a password visitors enter

Community 32 24/wk MIT v0.0.2

Installation

pnpm add payload-plugin-password-protection

About

Password Protection hides selected documents on the front end until a visitor enters the right password. You turn it on for the collections you pick, then set a password on each document you want to guard. Anyone requesting a locked document receives only its ID and a flag saying it is protected, so the content stays hidden. Once the correct password is entered, the browser keeps access for a limited window, two hours by default. Logged-in users and requests made through the local API skip the prompt.

Package info

Package name
payload-plugin-password-protection
Latest version
0.0.2
Unpacked size
38 kB
License
MIT
Weekly downloads
24
Last publish
May 4, 2022

More from payloadcms

View profile

Stores Payload upload files in Cloudflare R2 buckets instead of local disk

Adds a parent field and breadcrumbs to collections so documents can nest inside each other

Sends Payload server errors and selected HTTP errors to Sentry with user context

Adds an SEO tab with meta title, description, image and search preview to collections

Stores collection uploads in Vercel Blob Storage instead of local disk

Lets one Payload admin panel manage content for many separate tenants

Similar plugins

More in Auth

Birth month and year check at sign-up that flags minors by country and region

Linked accounts and role hats, with a second factor before switching to a sensitive role

Sells digital products with signed download links that expire and stop on refund

Adds passkey sign-in and passkey management to the Payload login and account screens

Lets AI assistants read and edit Payload content over MCP with scoped API keys