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) Lite at once with just one master password.

Requirements:

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 by our PPWP Lite or Pro version.

Go to the post editor and create a password under Password Protect WordPress section.

With PPWP Pro, you just need to enable “Password protected” option. A random password is generated automatically.

Step 2: Create a master password

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

Go to our plugin’s settings page and switch to Master Passwords tab. After that, 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. Password requirements: 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
  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 any more.
    • 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 which 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 December 13, 2019