[Zope-dev] preventing acquisition

Andreas Kostyrka andreas@mtg.co.at
Sun, 1 Aug 1999 00:39:36 +0200 (CEST)


On Sat, 31 Jul 1999, Robin Becker wrote:

> it's useful in DOCS/mydoc_html to refer to IMAGES/myimage.gif, but I
> really don't want RUBBISH/index_html to be available as /DOCS/RUBBISH
So what's that bad about DOCS/RUBBISH. As long as the user doesn't know
about the URL, it isn't even visible. And the security applies to acquired
documents the same.

If you really want to do this, you might check the URL requested in your
document and raise errors if it is wrong. Beware, that this might become
very quickly a maintenance nightmare.

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +54/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA