Tags:
create new tag
, view all tags

Question

Hi,

I've tried to lock down our new twiki so that only I can register users, and non-registered users can't view certain webs. I know that it's against the philosophy, but there is confidential information involved.

The activity is not going well. Users that I register can't use their activation email as they can't view the Twiki web. I'm aware that this is documented but not sure what to do about it, however for now I can workaround by enabling them to view the Twiki web until they have confirmed their account.

One of the issues that I have encountered is that I have managed to lock myself out of configure. It keeps popping up a login box, which I can login to ad infinitum. However, I'm in the admin group, and have no problem getting around other parts of the site that I've stopped the public viewing.

Is this a bug or have I done something silly?

Antony

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian Etch, Linux 2.6
Web server: Apache 2.2.3
Perl version: 5.8.8
Client OS: Debian Etch
Web Browser: Iceweasel (Firefox) 2.0.0.1
Categories: Permissions, Registration, Authentication, Authorisation

-- AntonyGelberg - 06 Feb 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.

It looks like you set your TWiki to require a valid user for all scripts.

The configure script has two parts for access control. The script itself can be under view access control. Here is an example bin/.htaccess to control that:

<FilesMatch "configure.*">
       require user AntonyGelberg OtherAdminPerson
</FilesMatch>

The configure script has also a password to save changes. If you forget that, edit lib/LocalSite.cfg and remove the $TWiki::cfg{Password} line.

You can tell configure not to require e-mail verification. This makes sense in your case since you are the only person registering users.

-- PeterThoeny - 06 Feb 2007

 
Change status to:
Topic revision: r3 - 2007-03-24 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.