How to Restrict Password Usage based on Users

PPWP Smart Restriction extension allows you to limit password usage based on users. If your site has thousands of users and you want each user to use their passwords once, instead of creating thousands of passwords with 1 usage, you now can create one password and limit 1 usage per user.

Requirements:

How to limit password usage per user

Once activating our plugins, navigate to Password Protect WordPress >> Smart Restriction menu from your admin dashboard.

Simply enable “Restrict Password Usage based on Users” option.

If you just want to implement this feature to some specific posts but not all your password protected content, add the following constant into your wp-config.php file.

define( 'PPWPSR_POST_ID', [1,27] );

How this feature works

Once this feature is enabled, only logged-in users can access protected content.

Please note that password status under our configuration popup is set by comparing the total usage and usage limit. As a result, users can still use an “expired” password if their own usage hasn’t reached the limit.

You can find how many times a specific user enters the password under our Password Protect WordPress >> Statistics table.

Lasted updated on July 26, 2020