Master Passwords – Use one Global Password to Unlock all Content

When there are many password protected posts on your website, it becomes difficult and time-consuming to create or manage passwords for each content. That’s when global or master passwords come in handy.

Users will be able to unlock all posts protected by our Password Protect WordPress (PPWP) at once with just one master password.

Requirement:

In this article, we’ll show you how to create a master password to access all posts protected by PPWP at the same time.

How to create master passwords

Step 1: Set password to protect content

First of all, you need to password protect some of your content with our PPWP plugin.

Simply hover the post title and then click on “Protect” button to lock your content immediately.

Step 2: Create a master password

After protecting content, you need to create a master password to unlock all these posts.

To do so, navigate to our plugin’s settings page and switch to Master Passwords tab. Then click on “Add New” button.

It will bring you up a popup where you can create a new password including these pieces of information:

  1. New Password: unique, no space, case-sensitive and limited to 100 characters
  2. Label: Allow to give some extra information for your password, e.g. what it is used for
  3. Post Type: Select which post types this password will apply on. Pages and custom post types are available in PPWP Pro only.
  4. (Password) Type:
    • Global (default): anyone with the password can unlock the protected content
    • Roles: only specific user roles are able to use the password to access the private content
      • Let’s say you set a password with type Role (editor)
        • Only editors can use this password to unlock your content
        • Other roles, e.g. subscribers, will receive an error message when entering it into password form
  5. Usage Limit: the maximum number of times a password is used.
    • Let’s assume that the usage limit of a password is set to 1. If a user enters that password to unlock the posts, the others can’t use it anymore.
    • This feature proves useful to prevent others from sharing your passwords without permission.
  6. Password Expiry: Another way to stop the users from abusing your password is to make it auto-expire after a period of time. In other words, they can’t use that password to unlock your content after a given time.

Manage master passwords

The master passwords feature also comes with an easy-to-use interface that allows you to create unlimited master passwords and manage all of them in one place. You will have full control to (de)activate, delete passwords as well as restrict usage passwords by usage, time, and user role.

How master passwords work

It’s important to know that this feature does not protect all posts automatically. It just gives your users the ability to unlock all content which you have set passwords at once. They won’t have to remember multiple passwords or enter passwords for each post individually.

Master passwords will have lower priority than Access Levels or Groups passwords. That means you can’t use master passwords to unlock the content protected by one of these PPWP extensions.

 

Lasted updated on August 4, 2020