![]() |
|
#1
|
|||
|
|||
Security Question Help Please?Hi,
I've setup apache 2.0.40 to run as a user(gary) and group(apache) but it can read all user directories in /home/. So say /home/user1 /home/user2 /home/user3 They can all read each other because the user directories have to be chmod 770 to enable apache to read the files in the directory. I want to stop this because if I run a perl script that reads the directories in /home/ then things are not secure and i'll be adding some users in the next couple of days and I want to stop them from possibly reading other each others directories. How do I do this anyone. Thanks Gary Mayor |
|||
|
#2
|
||||
|
||||
|
you can chmod /home and /home/user* to make them not viewable by users..
then you can create a public_html directory to put the files in. but when apache can read the directory, everybode can securing /home already makes things harder for users to find other users home dir |
|
#3
|
|||
|
|||
|
I see your point it is much better than what i've got at the moment shall be implementing it immediately.
Cheers |
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A question about the Amazon Affiliate Program | JdS | Advertising & Affiliates Forum | 5 | 13-Jan-2004 17:00 |
| a C input question.. | tmike | C Programming Language | 2 | 19-Sep-2003 02:39 |
| a C input question | tmike | C Programming Language | 1 | 16-Sep-2003 02:31 |
| a noobish compiler question | Charunks | C++ Forum | 5 | 03-Sep-2003 02:18 |
| Mozilla TARGET question | nickbeee | Web Design Forum | 2 | 03-Aug-2002 03:57 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The