Question
I have a twiki with fairly restricted access; several webs deny access to
TWikiGuest, and require individuals to log in. When users hit Backlinks on restricted webs, the search fails; according to TWiki logs (/var/lib/twiki/log/...), the search program always runs as
TWikiGuest, which is probably why the failure. The Backlinks search works in webs where
TWikiGuest has access. Can this be changed - can I set search to run under the logged-in user's ID? How?
Environment
--
EdwardPiou - 23 Jul 2005
Answer
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.
You need to track users since the search and view scripts are not authenticated. This can be done by IP address (see
TWikiUserAuthentication#Partial_Authentication) or with a session tracker plugin.
--
PeterThoeny - 23 Jul 2005
Actually, I had "view" set to be authenticated; your answer made me realize I could solve this problem by setting "search" to be authenticated in .htaccess. Now, the backlinks works.
--
EdwardPiou - 23 Jul 2005