Tags:
create new tag
view all tags

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 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

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-08-20 - KoenMartens
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.