Pradeep's Blog

Google

Thursday, September 29, 2005

Securing your Wiki

Securing your Wiki

After setting up the wiki for our project development website last week, I was assigned the task to make it secure. By default a wiki allows anonymous edits to the web page and also lets any one to create an account in it. So my primary task was to entirely disable anonymous edits & to prevent new user registrations.
In order to make such things possible it’s necessary to update the localsetting.php file in the wiki. As the name suggests this file is used to configure the wiki. I made the following changes to wiki’s LocalSetting.php file.
1. In order to prevent new user registrations, the following line could be added to the file: $wgWhitelistAccount = array ( "sysop" => 1, "developer" => 1 );
2. By adding the following line to LocalSetting.php , it is possible to entirely disable anonymous edits. $wgWhitelistEdit = true;
For more look help regarding wiki admin click here.

0 Comments:

Post a Comment

<< Home