Re: [htdig] htsearch and user access


Torsten Neuer (tneuer@inwise.de)
Sat, 1 May 1999 14:33:04 +0200


According to Steve Chadsey:
>Hello,
>
>I have installed and configured ht://Dig with no problems, except for
>the following logistical one. I have a site in which any given
>web-authenticated user has access to certain documents. Some users have
>permission to view some documents, some all, some no docs at all.
>
>When htsearch is run, it returns all possible documents, whether the
>user can access them or not. Is there any way to tell htsearch to only
>look at certain documents out of the whole, in searching? How have
>other people tackled this?
>
>One solution is for me to use one of the contrib/ scripts to parse the
>output from htsearch, but that would be a pain.
>
>Any suggestions?

Instead of parsing the output, generate a dynamic search frontend using
the user's id to create hidden "restrict" and/or "exclude" input fields
for htdearch.

hth,
  Torsten

--
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstraße 14                            Tel: +49-4101-403605
D-25474 Ellerbek                            Fax: +49-4101-403606
E-Mail: info@inwise.de            Internet: http://www.inwise.de

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Sat May 01 1999 - 05:50:11 PDT