• BillyBob

    (@williamkharvey)


    [ Moved to the Fixing WordPress sub-forum. Please do not use Developing with WordPress for these topics. ]

    Hi everyone!

    I’ve been looking for a plugin for what I need and can’t find anything remotely offering this. So my next step is code it and I have no idea where to begin. I’m quite new to WordPress and am looking for some pointers.

    Basically I have a page that all staff members can see (sensitive info). But if they have children or a partner that has access to their phone then they want to hide that info.
    So I’m looking for a way to allow signed in users to set a custom password to make that page password protected.
    But here’s the catch, the page still needs to be viewable for all other logged in users.
    And the password can be changed, reset password etc for that user.

    Does that make sense? If so then does anyone know of a plugin or maybe some tips how I would go about doing this?

    I suppose it would be hooked up to the user>ID.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Would it not work to just have people log out, or maybe even expire their session after so long (if they aren’t actively refreshing the page)? They would have to log back into the whole site, but that seems to be an easy and straightforward solution. In theory, if they are actively working on the site their session will continually be refreshed so they won’t experience any issues during the work day.

    Here is a StackOverflow post talking about changing the default expiration time: https://stackoverflow.com/questions/9191359/how-to-change-session-expire-time-in-wordpress

    Thread Starter BillyBob

    (@williamkharvey)

    I agree that this would be the simple solution but the boss is asking for password protection. Would you happen to know if that’s at all possible here?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Advanced page password protection set by user.’ is closed to new replies.