r3 - 20 Aug 2007 - 08:08:57 - KoenMartensYou are here: TWiki >  Support Web > DisableRegistrationform
Tags:
, create new tag

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

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  
-- ChrisTorager - 12 Jul 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo