![]() Topic awaiting preservation: Allow FTP upload but that's it? (Page 1 of 1) |
|
|---|---|
|
Maniac (V) Inmate From: there...no..there..... |
posted 09-21-2006 22:18
I have a directory that our customers use to upload files to us. However, I need to make it so they can upload but not anything else. Espically delete files. code: # protect the directory for the ftpuser upload
# this will allow only systelpr to be able to delete files...or should.
<Directory /path/to/directory/>
<Limit DELE>
AllowUser myusername
DenyAll
</Limit>
</Directory>
|
|
Paranoid (IV) Inmate From: Australia |
posted 09-22-2006 02:37
I'll add a question on the same topic! |
|
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 09-22-2006 13:31
No, but you could give ownership to another user (webserver...), and remove world and group read & execute on the directory... |
|
Paranoid (IV) Inmate From: Australia |
posted 09-22-2006 16:24
Can you do that just so it effects ftp? Or will that effect people accessing files via the web too. |
|
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 09-22-2006 16:37
Depends on what user php is running as. |
|
Paranoid (IV) Inmate From: Australia |
posted 09-23-2006 03:01
Yeah i was thinking that, but their nto all includes, its more a web app that is accessed from a subdomain so its a subdirectory of public_html. |