[PHP] mkdir security concern

2005-01-20 Thread kids_pro
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

Re: [PHP] mkdir security concern

2005-01-20 Thread Marek Kilimajer
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,

Re: [PHP] mkdir security concern

2005-01-20 Thread kids_pro
So your suggestion is that I should create an ftp account and use this account to create folder structure for user right? I still not sure about the permission to set. If I set 0755 how do OS know who is the owner? May be I think too much. But let say I use ftp account: ftp1 to create folder