Topic awaiting preservation: Give write access to a certain file/directory only (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Australia |
posted 10-04-2005 05:30
Hi all, just wondering is it possible to give a certain file, or files in a directory - write access to another directory, but have everyone else not able to write to that directory? |
Bipolar (III) Inmate From: Australia |
posted 10-04-2005 08:41
Actually im having a problem with PHP also... |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 10-04-2005 08:50
sorry, but standard linux file permissions won't cut this, especially since you probably have only one user (the webserver user) involved. |
Bipolar (III) Inmate From: Australia |
posted 10-04-2005 09:07
Ack.. well having some problems. |
Bipolar (III) Inmate From: Australia |
posted 10-04-2005 10:58
On another note what are the risks in having public write access (757) on my public_html directory. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 10-04-2005 16:58
Risks of having public write access on your public_html - anybody that can possibly write on the system (including the mail server, the ftp server, any other user with shell access, any broken inetd daemon) can place an evil php there to gain complete control over the webserver. |
Bipolar (III) Inmate From: Australia |
posted 10-05-2005 03:01
Yeh doesnt look like thats the case, looks like webusers run th ephp. |