• Hello,

    At my company, we have a WordPress website for managing and organizing events for our clients. We are planning to expand it by including private events for employees only. Since we’re using LDAP for various other tools, our goal is to be able to restrict access to internal events by providing a LDAP login form when users try to access it, and basically unlocking the page if login is successful. So far, every LDAP plugin I came across only deals with logging in to the WordPress backend itself, rather than restricting specific pages, which is not what we’re after. Is there any way to possibly implement this? Any suggestions would be very appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    There are a number of WP plugins that manage access to certain pages. They may not be LDAP specific, but they surely work by logged in status and user role. Use a LDAP plugin to get users logged in, then use another to manage access.

    Using a few plugins with specific functionality that can work together is often preferable to a single does-it-all plugin. And if a few plugins still don’t meet all of your needs, a bit of custom coding to fill in what plugins don’t do is often a viable approach.

    Thread Starter alexbrasovan

    (@alexbrasovan)

    I’m looking for something that works independently from WordPress backend. Our employees shouldn’t be registered as users on that site. It’s just about ‘unlocking’ pages with a LDAP login.

    Moderator bcworkz

    (@bcworkz)

    Managing access without requiring login would not be very secure. Such a scheme would rely upon some arbitrary token for determining access. Anyone who learns the token can gain access. If it’s the wrong person, the token has to be changed and every legitimate user informed of the change. Basically how the default password protected page works. In this case the password is the token. It’s really not much better than a secret link only certain people are supposed know about.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘LDAP restrict access to posts’ is closed to new replies.