• i’m creating a multisite for a ticket system.
    i’t build like

    www.site.com (site1)
    www.site.com/custom1 (site2)
    www.site.com/custom2 (site3)

    When a user registers on site 2, i want the user to be able to see only site2, and i want him to stay there.
    Right now a user can login on site2, and he can go to site3 without being a registered user on site3.
    I tried so many plugins for useraccess, but nothing really does the trick.
    Can anyone point me to a solution that registered users on site 2 can only stay on site2, and registered users on site3 can only stay on site3?

    Kind regards!
    Jeroen

    • This topic was modified 3 years, 3 months ago by Steven Stern (sterndata).
    • This topic was modified 3 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    It would be difficult to securely do what you want. A user could pretend to be someone else and access a different site. You only know users by their login credentials. They could easily create multiple logins. There are other metrics you could attempt to access to prevent abuse. It’s difficult to do so with any accuracy that avoids adversely impacting innocents who happen to share the same metrics.

    If such security isn’t an issue, you’ll at least want a plugin that limits site visibility to registered users. To prevent known users from registering for multiple sites, the ‘wpmu_validate_blog_signup’ action could be used to return an error if they try to register for more than one site.

Viewing 1 replies (of 1 total)
  • The topic ‘user restriction’ is closed to new replies.