Question
How can I disable the registration form so that only the administrator can add new users to the twiki. By the way, everybody should be forced to log in at the start. How can this be done and is it possible and suggestable to disable the guest user?
Thanks
Environment
--
ChrisTorager - 12 Jul 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
A quick way would be to
Set ALLOWTOPICVIEW = TWikiAdminGroup on
TWikiRegistration. Not sure if there is a better way though.
--
AndrewRJones - 12 Jul 2007
To start with your last question: forcing logon can be done by including the view script in the
AuthScripts setting in bin/configure under 'Security'. Don't forget to include the other scripts too, such as rdiff, viewfile, etc.. Basically, any script in bin/ should be in
AuthScripts.
If you include register in the
AuthScripts, that should prevent users that are not logged in to create users. You can also use your webserver to restrict access to the register script (akin to what is done with the configure script in default configuration).
You can then either delete the registration topic, or make it accesible only to administrators.
--
KoenMartens - 20 Aug 2007