On 07/01/2017 03:16 PM, Jean Valjean wrote:
I want to let some of my administrators (in the wizards group) edit LocalSettings.php, so I used this snippet, which allows them to make changes by editing the Project:Shared_config.php page. Then I protected the page so that only wizards can edit it. Do you think this presents any security issues?
Yes, it presents a huge security issue. Anyone who can modify your LocalSettings.php can execute arbitrary PHP code. They could see any private data in your database, easily get passwords, or even potentially give themselves server access.
I would highly recommend NOT doing this.
-- Legoktm