🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Secure Role-Restricted Draft Previews icon
Ralentir Testé jusqu'à 6.8.13 #98 in access-control

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…

Installations actives<10Nouveau
Téléchargements · 30D52▲ +33.3% vs prev. 30d
Évaluation—0 avis
Score de santé30/100En danger
Téléchargements de tous les temps548Depuis septembre 2025
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.4PHP 8.1+
Téléchargements · 7j10▼ -33,3% Semaine sur semaine
Notre verdict

Envisager une 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.

  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour depuis plus d'un an
  • Uniquement testé jusqu'à WordPress 6,8 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

134Sep 4Oct 18Dec 2
Hier3
Moyenne quotidienne (1 ans)1
Jour de pointe68 mai 2026
12 Derniers mois408

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Secure Role-Restricted Draf… stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
access-control >100 8,280 Best access-control plugins →
drafts >100 5,301 Best drafts plugins →
preview >100 10,000 Best preview plugins →
roles >100 7,886 Best roles plugins →
la sécurité >100 10,000 Meilleurs plugins de sécurité →

About Secure Role-Restricted Draft Previews

À partir du Lisez-moi officiel · v1.0.1

Description

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.

Compatibilité universelle

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+

Principales caractéristiques

  • 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.

Comment cela fonctionne

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.

Intimité

  • IPs are hashed using hash_hmac(sha256, ip, wp_salt('auth')).
  • You can disable analytics entirely under Settings → Secure Previews.

Developer Friendly

  • Fully documented filters and actions
  • Clean, object-oriented codebase
  • PSR-4 autoloading
  • Extensive inline documentation

Developer Documentation

Filtres

  • srpl_supported_post_types – Modify post types that support preview links
  • srpl_default_ttl_hours – Change default expiration time (in hours)
  • srpl_force_ssl – Control whether previews are forced to use HTTPS
  • srpl_analytics_enabled – Enable or disable analytics collection

Functions

  • LinkManager::create($post_id, $args) – Create a new preview link
  • LinkManager::revoke($link_id) – Revoke a specific link
  • LinkManager::revoke_all_for_post($post_id) – Revoke all links for a post
  • LinkManager::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)

Licence

This plugin is free software, licensed under the GPL v2 or later.

Installation

  1. Upload the plugin folder to /wp-content/plugins/ or install from WP.org.
  2. Activez le plugin via le menu "plugins" dans WordPress.
  3. Go to any Post/Page editor → sidebar meta box “Secure Preview Links”.
  4. Generate a link (choose Mode + TTL). Copy the URL (for email mode, copy the per‑email URLs shown).
  5. Optional: configure defaults in Settings → Secure Previews.

Journal de modifications

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

  • Version initiale.

Journal des modifications complet sur WordPress.org →

Captures d'écran

Editor meta box: generate, copy, revoke.
Editor meta box: generate, copy, revoke.

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Secure Role-Restricted Draft… alternatives

All access-control plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 PublishPress Capabilities: User Role Access Control, Admin Area Permissions PublishPress Capabilities: User Role Access Control, Admin… User role editing for WordPress. Manage user roles, control capabilities and permissions… par Publishippress 90K+ ★★★★★★★★★★ 4.7 (144) Il ya 3 jours 95
2 Content Control – The Ultimate Content Restriction Solution! Restrict Content, Create Conditional Blocks & More Content Control Restrict content based on login status, user roles, device type & more. Monetize your… de Daniel Iser 40K+ ★★★★★★★★★★ 4.9 (576) Il y a 2 mois 76
3 PublishPress Permissions: Access Control, Content Permissions, User Access PublishPress Permissions: Access Control, Content Permissio… The permissions plugin for posts, pages, categories, tags and more. You can control… par Publishippress 10K+ ★★★★★★★★★★ 4.3 (66) il y a 1 semaine 89
4 Restrict User Access – Ultimate Membership & Content Protection Restrict User Access Create Access Levels and restrict any post, page, category, etc. Supports bbPress… par Joachim Jensen 10K+ ★★★★★★★★★★ 4.3 (94) il y a 4 semaines 76
5 Groupes – adhésions et contrôle d'accès Groupes – adhésions et contrôle d'accès Transformez votre site en une solution d'adhésion puissante. Gérer les membres, les équipes et accéder à… par itthinx 10K+ ★★★★★★★★★★ 4.8 (382) il y a 1 semaine 93
6 SureMembers – Membership & Content Restriction Plugin SureMembers – Membership & Content Restriction Plugin Protect your content, build memberships, and control who sees what on your WordPress site… par la force du remue-méninges 2K+ ★★★★★★★★★★ 5 (3) Il y a 2 jours 67
7 Quick Download Button Quick Download Button Add stylish download buttons to any post or page — 7 styles, countdown, popup modal, access… by sidocode 1K+ ★★★★★★★★★★ 4.6 (12) Il y a 2 jours 80
8 SimpleShop SimpleShop The SimpleShop WP plugin connects your WordPress website with a SimpleShop account and… by Redbit s.r.o. 1K+ ★★★★★★★★★★ Aucun avis Il y a 3 mois 60
9 Menu By User Roles Menu By User Roles Menu By User Roles allows you to control the visibility of menu items based on user roles. by kahnu044 1K+ ★★★★★★★★★★ 5 (3) Il y a 2 mois 73
10 Groupes 404 Redirection Groupes 404 Redirection Redirigez 404 lorsqu'un visiteur tente d'accéder à une page protégée par des groupes. par itthinx 1K+ ★★★★★★★★★★ 4.6 (10) Il y a 2 mois 76

FAQ

Secure Role-Restricted Draft Previe…: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : 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).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir