On Wed, 18 Sep 2002, Hergeth, Joachim wrote:

> We have files and directories which should be searched. But the
> different folders have different access rights. So different users see
...
> document during the "dig" phase. And then restricting the search to
> all documents with the current users name in the meta keywords plus a
> "standard search" for the rest of the search words?

This might work, but I think I'd try a different route. You mention
"folders," so I'm assuming that you can restrict or exclude based on URL
patterns. Conceivably, you could have a CGI determine the user and
construct restrict and exclude patterns for htsearch:

<http://www.htdig.org/hts_form.html>

If you did this as a "wrapper" for the htsearch CGI (or in conjunction
with such a wrapper), then you could nail down security pretty well--the
wrapper could ignore any user input for the restrict and exclude fields
and construct them correctly every time.

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to