Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Red Hat Enterprile Linux 4, kernel 2.6.9
Web server: Apache 2.052
Perl version: 5.8.5
Client OS: any
Web Browser: any
Categories: Security

-- ToddEOlson - 27 Nov 2006

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.

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

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-12-29 - PeterThoeny
 
  • 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.