From: Jeff D. <da...@da...> - 2003-02-23 18:16:36
|
> I would like to use phpwiki-1.3.4 for my own private site. I don't > want to > use phpwiki for its sharing feature, I would like to use it because it > would be easy for me to maintain and to build my web site. > So I would like to know if it is possible to block ALL the pages for > modification except for me of course :o). Perhaprs I need to lock each > page one by one ? You might try setting (in index.php): ALLOW_BOGO_LOGIN to false. REQUIRE_SIGNIN_BEFORE_EDIT to true. That used to be sufficient to ensure that only the admin (with the admin password) could edit pages. (Regardless of whether they were "locked" or not.) I'm not completely sure that it still works --- so you'll need to play with it a bit. Locking pages one by one won't really work (at least without hacking code,) since people will still be able to create pages (i.e. edit non-existant pages.) Another (untested) idea is to use Apache's (or whatever webserver you use) authentication mechanisms to keep anonymous people from being able to POST to the wiki. (I think any operation that modifies the wiki is done via POST, while most or all of the non-modifying functions (e.g. searching, RecentChanges) are done via GET.) |