Computing.Net > Forums > Linux > Apache & Permissions

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Apache & Permissions

Reply to Message Icon

Name: mgichoga
Date: March 20, 2005 at 00:19:35 Pacific
OS: FC#
CPU/Ram: 256
Comment:

what are the default permissions for the /var/www/html folder:

I have this problem, If I want to put a directory in there for example I want to establish phpmyadmin and put the folder in there...I don't want people to read the config files as well...which might contain the passwords. I noticed this when I created a normal user and it seems this user can browse the /var/www/html with ease...only that he cant write, but the damage is done...if he reads the config files which house the passwords...thats not too much security huh??

Michael.

Mike



Sponsored Link
Ads by Google

Response Number 1
Name: anonproxy
Date: March 20, 2005 at 20:50:31 Pacific
Reply:

Set the file permissions to 770 or 750. You can do this for just the password file. Alternatively (and a good idea anyway), deny access to that directory to everyone except a select group of users (yourself and whatever apache runs under).

Read a little on unix-style file permissions.


0
Reply to Message Icon

Related Posts

See More


video problem Screen Size ??



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Apache & Permissions

FTP & Apache Permissions www.computing.net/answers/linux/ftp-amp-apache-permissions/13958.html

apache to work with users home directori www.computing.net/answers/linux/apache-to-work-with-users-home-directori/12867.html

Permission and New Files www.computing.net/answers/linux/permission-and-new-files/28094.html