Question
Is there an easy way to restrict who can register a new account? There are problems w/ spammers creating accounts, then pages that their spam messages link back to. I'd like to be able to prevent just anyone from registering a new account. Say, for someone to register a new account, we would have to give them initial information (a login, etc), so that they could register.
Thanks!
Todd
Environment
--
ToddEOlson - 27 Nov 2006
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.
An easy way would be to simply add the
register script to the
{AuthScripts} setting when running the configuration script
bin/configure, and define a password for the TWikiGuest account which you pass to users who should be allowed to register.
Or you could simply make
bin/register inaccessible and do all registration as administrator, using
TWiki.BulkRegistration.
--
HaraldJoerg - 27 Nov 2006
I have received an error message "Failed to open
file:Invalid
at c:/Appserv/apache/cgi-bin/TWiki/lib/UI/Register.pm line 1156"
--
NehaPrasad - 28 Nov 2006