security question in apache doc root
Bruno Wolff III
bruno at wolff.to
Mon Dec 8 05:02:48 UTC 2008
On Sun, Dec 07, 2008 at 13:04:57 -0800,
ann kok <oiyankok at yahoo.ca> wrote:
> Hi
>
> When I do config /home/user/html/a.html as apache doc root, there is permission issue when I visit to http://website/a.html
>
> I have to change the permission 755 in this folder /home/user
>
> This will have security issue as the original permission is 700 /home/user
>
> How can I prevent it?
Why do you want to put the files in that location?
The normal thing would be to have the files somewhere under /var/www and
have a sym link from the user's home directory if they want an easy way
to reference the files.
More information about the fedora-list
mailing list