[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: protecting web directories in apache2



Am 27.11.2012 17:25, schrieb François TOURDE:
Le 15671ième jour après Epoch,
Zachary Uram écrivait:

Running Apache2 on Debian testing release. Say I have a directory
http://www.website.org/files/
And I want to let a user download a file:
http://www.website.org/files/example.txt
But I don't want them to be able to browse the directory and see the
other files in there.
So how can I protect the directory?


Just remove Indexes from the Options block in your conf file.

Maybe you can use Linux File System rights:

No.


Not tested.


Obviously.



Reply to: