disabling file:///home/user viewing in apache on fc3

Paul Howarth paul at city-fan.org
Wed Aug 10 10:40:03 UTC 2005


Ankush Grover wrote:
> hey friends,
> 
>  Can anyone tell me how to disabling viewing any user's home directory
> contents or any directory contents from the browser.
> 
> If I do file:///home/user on the browser and then I  can see the
> contents of that user's home directory ,even any user can see the root
> or any other user's directory.I want to avoid this ,how can i disable
> this on my computer. I am using FC3.

Unix/Linux is designed to be open in this way. Regular users are 
supposed to be able to read most directories and files.

If you want to stop users being able to access each other's home 
directories, just make the home directory permissions 750 or 770.

Paul.




More information about the fedora-list mailing list