Menu

How to create a private site only visible to approved users?

Help
WilliamKF
2015-02-09
2015-02-13
  • WilliamKF

    WilliamKF - 2015-02-09

    Hello,

    I'm trying to make a site that is only accessible by allowed users. By
    default, on a just created blank BlueSpice MediaWiki site, each page I
    create, is visible to anyone coming to the site. Instead, I'd like to make
    the site only visible to a select set of people. Perhaps this could be
    done by requiring a person to log into the site before any pages become
    visible and requiring all user accounts to be approved.

    What is a straight forward way to make a whole BlueSpice MediaWiki site
    private and only accessible by those users I approve?

    Thanks.

    -William

     
  • WilliamKF

    WilliamKF - 2015-02-09

    I found that by default "read" access is provided to everyone, logged in or not. Therefore, I explicitly added read access in the WikiAdmin - Permission manager to group User checking for line Read in the Namespace column. Having done this, the pages now say:

    Login required
    Please log in to view other pages.

    However, there are still details visible. For example, the special page http://wiki.domain.com/index.php/Special:RecentChanges shows the names of pages and the log entry for each edit. Additionally, the names of users are revealed and their edit history.

    The solution is to go to group * in the WikiAdmin - Permission manager and uncheck the Read under the Wiki column adjacent to the Namespace column mentioned above.

     
  • WilliamKF

    WilliamKF - 2015-02-12

    The solution is to use wgWhitelistRead in your LocalSettings.php configuration file:

    $wgWhitelistRead = array(
    "Special:UserLogin", "Special:TwoFactorAuth/auth", "Special:RequestAccount"
    );