File permissions [message #31143] |
Tue, 04 April 2006 19:41 |
matt(at)bikernight(dot)co(dot)uk
Messages: 20 Registered: March 2006
Karma: 0
|
Junior Member |
|
|
HI
I'm using a shared hosting solution and had a lot of problems with file permissions when I installed the fud software.
So to over come this I set every single file to chmod 777 *.*
Now I know that other users sharing my server can't make alterations to my files even though they are 777, as they can't get past my root directory.
I've password protected the main directory that contains the sub-directorys templates, includes, scripts etc
using an .htaccess file that says
Deny from all
Think I'm protected so far ... am I ?
Secondly
Now all my files under my main forum directory have full 777 permissions. This is probably not a good idea.
Can someone please tell me if I can recursively use chmod -R ??? *.*
from the main forum directory that my online users will use.
If so what should I use in place of ??? so all files are safe from pesky users, but not limiting the forum software.
Thanks in advance
Matt
|
|
|
Re: File permissions [message #31168 is a reply to message #31143] |
Thu, 06 April 2006 02:43 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can use FUDforum file lock admin control panel to set secure file permissions on all of the forum's files and directories.
FUDforum Core Developer
|
|
|
|
Re: File permissions [message #31286 is a reply to message #31252] |
Fri, 14 April 2006 20:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to get your ISP to change the file owner back to the web server user or install forum inside another directory.
FUDforum Core Developer
|
|
|
|
Re: File permissions [message #31300 is a reply to message #31298] |
Sat, 15 April 2006 16:37 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
When PHP is configured properly it uses a configuration setting called open_basedir this setting allows the ISP to restrict PHP access for each user to just their own directories.
FUDforum Core Developer
|
|
|