Quoting Sergey Poznyakoff <g...@gnu.org.ua>:

No, there is:

strategy all {
  deny-all yes;
}

But it only affects default searches, while certain databases are quite big (gcide is 13MB), i tested with a 1MB database to see: # time dico --host=dico.duckcorp.org --noauth -d fd-cro-eng -s all "sproutchploufpiou"
...
real    3m46.654s
user    0m0.576s
sys     0m2.296s

I don't think this is acceptable.

How can we limit in non-default searches ? Or even have it disappear in the list of strategies completely, so that the listing in the CLI or web interface only present the ones authorized at least in certain conditions ? I can't see that in the manual.

--
Marc Dequènes (Duck)

Attachment: pgp6dqFOLf9xq.pgp
Description: PGP Digital Signature

Reply via email to