WordPress plugin intelligence profile

Secure post with link

Adds new post status "Secured with Link". Posts with this status will be accessible only with randomly generated token in URL.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.9
Current version1.2.3
WordPress coverageTested up to WordPress 4.9
Minimum stackWP 4.5 · PHP —
Directory statusactive
Last directory update2 Mar 20197y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Secure post with link version 1.2.3 as active, updated 7y ago and tested up to WordPress 4.9.

Overview

About this plugin

This plugin adds new status for posts (or pages/custom post types) called “Secured with link”. If you select this status, that specific post wouldn’t be accessible on its standard URL anymore, but you have to access it on URL with random token in it. This URL is displayed on post edit screen in administration.

Configuration

For now, there is no administration screen yet. To configure plugin, you can inject your changes to plugin configuration array from your theme or plugin. php file in your theme:

config', function( $config ){ $config[ 'allowed_post_types' ] = [ 'post', 'page' ]; $config[ 'url_identifier' ] = 'sec'; //... Other $config variables return $config; } );

Preferably, don’t include lines with attributes, which you don’t want to change.

These are attributes (with defaults), which you can change this way:

-

allowed_post_types ([ ‘post’ ]) List of post types, which should be affected by this plugin. Use array notation like: [ 'post', 'page', 'custom_type' ].

-

secured_meta_name (‘_secured_with_link_token’) Name of meta, which stores post token. You can change that in case of conflicts with themes or other plugins.

-

url_identifier (‘s’) Part of URL before token, which identifies secured posts.

-

token_length (4) Length of random token. With default generator, length is in bytes!

-

use_openssl (true) If plugin should use cryptographically secure random generator, or less-secure PHP functions. (See below)

-

assets_url (Defaults to [plugin URL]/assets) URL for static assets (like Javascripts), in case, you want to use your assets for some reason.

-

translations_dir (Defaults to [Plugin path]/lang) You can change path, where plugin looks for translation files. If you want to translate plugin, you should not use this setting, but create standard translation in wp-content/languages folder.

In case, you have changed any settings after plugin installation, deactivate and reactivate plugin, so all changes are correctly applied.

Compatibility

  • For now, you need to use WP URL Rewriting for plugin to work correctly
  • Plugin should work with PHP 5.4, but at least PHP 5.6 is highly recommended. I’m sorry, but I won’t support older, insecure and slow versions of PHP.
  • By default, plugin uses OpenSSL library to generate cryptographically secure random tokens. If your hosting provider don’t have OpenSSL set up, you can use configuration variable: $config[ 'use_openssl' ] = false to use less-secure method of token generating. This should still be secure enough for most use cases.

Planned features

  • Administration page
  • Regenerate token
  • Role management – users with privileges should be able to access post without token

Developers

Plugin is also hosted on Github.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • hide
  • link
  • post
  • private
  • secure
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.9
Minimum requirementsWordPress 4.5 · PHP not listed
Update activity2 Mar 20197y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.