Question
Is it possible to create a web where I can also read and write after authentification? I want to create an twiki site where people can read and write but in one web I need a closed user group. How secure are the restrictions?
- TWiki version: current
- Web server: apache
- Server OS:
- Web browser:
- Client OS:
--
MatthiasTeege - 27 Jan 2002
Answer
See
TWikiAccessControl
--
AnibalRojas - 28 Jan 2002
Another Answer!
The section entitled "Restricting Read Access" in
TWikiAccessControl describes two schemes that can be used to restrict read access to some webs. However, I found that both had disadvantages. If you look at
http://www.bcs-oops.org.uk/
you will find that the OOPSCommittee and OTConference webs are restricted, so that only members of the special interest group are able to read them, while all others are readable by anyone.
I achieved this effect by replacing the script "view" with a subdirectory "view". The actual script was renamed out of the way. Within the subdirectory, it is then possible to create a separate script for viewing each web, and a .htaccess file that requires a valid-user for those webs that you want only members of specified groups to read.
In fact, instead of creating a separate view script for every web, I just created one and then made symbolic links to it for each web. The script is attached. I hope this is useful.
--
ImmoHuneke - 16 Mar 2002
Updated TWikiAccessControl with this tip.
--
MikeMannix - 20 Mar 2002