Secure Role-Restricted Draft Previews
WordPress core preview links work well for editors, and Public Post Preview shares via anonymous nonces. This plugin adds a missing middle ground: draft previews that are secured by authentication and access control…
Betrachten Sie eine Alternative
Secure Role-Restricted Draft Pr… shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 1 year ago, and scores 30/100 on our health check.
- Kleine Benutzerbasis (<10 aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in über einem Jahr
- Nur getestet bis WordPress 6.8 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Secure Role-Restricted Draf… stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| access-control | >100 |
| drafts | >100 |
| preview | >100 |
| roles | >100 |
| Sicherheit | >100 |
About Secure Role-Restricted Draft Previews
Aus der offiziellen Readme · V1.0.1Beschreibung
Why this plugin?
WordPress core preview links work well for editors, and Public Post Preview shares via anonymous nonces.
This plugin adds a missing middle ground: draft previews that are secured by authentication and access control
lists (ACLs) — role-based, user-specific, or per-email tokens — plus analytics and a one-click revoke-all.
Universal Compatibility
Works seamlessly with:
* Full Site Editing (FSE) themes
* Block themes (modern WordPress)
* Classic PHP-based themes
* All page builders including Elementor, WPBakery, Divi, etc.
* WooCommerce product drafts
* Any CSS framework including Tailwind CSS v4+
Key features
- Create expiring preview links (default 72h; configurable).
- Restrict by roles, specific users, or per-email tokens (no login for recipients).
- Require HTTPS for previews (on by default).
- Per-link analytics: allowed/denied events, hashed IP, user agent (privacy-friendly).
- Meta box in the editor (Post/Page by default; filterable) to generate, copy, and revoke.
- “Revoke All” for a post.
- Everything prefixed (
srpl_), sanitized, and aligned with WordPress coding standards.
Wie es funktioniert
Each generated link has a unique token, TTL, and ACL:
- Role-based Access: Requires login. Only users with allowed roles can view the preview.
- User-based Access: Requires login. Only specific user IDs can access the preview.
- Email Token Access: No login required. Recipients receive unique URLs with email verification tokens.
When a link is visited, SRPL validates the token, expiry, and ACL, then renders the draft with your theme’s header/footer. Events are logged (when enabled) to a small custom table (wp_srpl_events) with hashed IP for privacy.
Privatsphäre
- IPs are hashed using
hash_hmac(sha256, ip, wp_salt('auth')). - You can disable analytics entirely under Settings → Secure Previews.
Entwicklerfreundlich
- Fully documented filters and actions
- Clean, object-oriented codebase
- PSR-4 autoloading
- Extensive inline documentation
Entwicklerdokumentation
Filters
srpl_supported_post_types– Modify post types that support preview linkssrpl_default_ttl_hours– Change default expiration time (in hours)srpl_force_ssl– Control whether previews are forced to use HTTPSsrpl_analytics_enabled– Enable or disable analytics collection
Functions
LinkManager::create($post_id, $args)– Create a new preview linkLinkManager::revoke($link_id)– Revoke a specific linkLinkManager::revoke_all_for_post($post_id)– Revoke all links for a postLinkManager::find_by_token($token)– Find a link by its token
Database Structure
- Post Meta for Links: _srpl_token, _srpl_mode, _srpl_roles, _srpl_users, _srpl_emails, _srpl_expires, _srpl_revoked, _srpl_hits, _srpl_last_access
- Analytics Table: wp_srpl_events (link_id, post_id, user_id, outcome, ip_hash, ua, created_at)
Lizenz
This plugin is free software, licensed under the GPL v2 or later.
Installation
- Upload the plugin folder to
/wp-content/plugins/or install from WP.org. - Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress.
- Go to any Post/Page editor → sidebar meta box “Secure Preview Links”.
- Generate a link (choose Mode + TTL). Copy the URL (for email mode, copy the per‑email URLs shown).
- Optional: configure defaults in Settings → Secure Previews.
Änderungsprotokoll
Updated plugin assets for WordPress.org directory. All persistent data is stored in the WordPress database or in a subfolder of the uploads directory. No plugin-folder writes. No code editing required.
1.0.1
- Updated plugin assets for WordPress.org directory.
1.0.0
- Erste Freigabe.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Secure Role-Restricted Draft… alternatives
All access-control plugins →Fragen und Antworten
Secure Role-Restricted Draft Previe…: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Secure Role-Restricted Draft Pr… free?
Yes. Secure Role-Restricted Draft Pr… is free to download and use from the official WordPress.org plugin directory.
Is Secure Role-Restricted Draft Pr… safe to use in 2026?
Secure Role-Restricted Draft Pr… shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 1 year ago, and scores 30/100 on our health check.
How many websites use Secure Role-Restricted Draft Pr…?
Secure Role-Restricted Draft Pr… is active on <10 WordPress websites and has been downloaded 548 times since it launched in September 2025. It was downloaded 52 times in the last 30 days.
Does Secure Role-Restricted Draft Pr… work with WordPress 7.1?
Secure Role-Restricted Draft Pr… is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Secure Role-Restricted Draft Pr… need?
Secure Role-Restricted Draft Pr… requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Secure Role-Restricted Draft Pr… last updated?
The latest version, 1.0.1, was released on October 2, 2025 (1 year ago).
Who makes Secure Role-Restricted Draft Pr…?
Secure Role-Restricted Draft Pr… is developed and maintained by Pixy Puala.
What are the best alternatives to Secure Role-Restricted Draft Pr…?
The most popular alternatives to Secure Role-Restricted Draft Pr… are PublishPress Capabilities:… (90K+ installs), Content Control (40K+ installs) and PublishPress Permissions: A… (10K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte

