Re: mkdir security concern

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kids_pro wrote:
Hi there,

I want to create a script.
When user register I want to create a folder : users\<new_user_folder>\images
The purpose is that I want to allow them to upload image to this image folders.


What sort of permission should I give to each folder
Root: users, <new_user_folders>, and images folder.


The least necessary. That depends on your server setup, primarily the user id your scripts are run under (mod_php/cgi or suexec). You might want to use ftp functions to create the directories if they would be created with apache as the owner otherwise.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux