Disallowing Directory Listings

darrell starnes writes:
 > I don't like users to be able to list some directories.  I don't know if 
 > there is a different
 > way to disallow directory listings, I usually set the index to a 
 > non-existant file so that
 > directory listings fail which has the same effect as not allowing directory 
 > listings. I
 > 
 > s there a different way to do this? Should there be an attribute in 
 > DirectoryResource to allow or disallow directory listings?

I guess that you can set the index to some none existing file (the
error message will look strange, but it will work)

To have that on all directories, setup the /Admin/Directories WWW
template appropriately

Anselm.

Received on Tuesday, 28 January 1997 11:41:36 UTC