View Single Post
  #1  
Old 04-05-2010, 07:13 AM
paulus is offline paulus
Registered User

Join Date: Apr 2010
Posts: 5

phUloader v1.3 CHMOD settings

Hi,
Happy easter for everyone!
This is the first time I'm trying to implement a php script instead of the usual javascripts. I can read a php script but I'm not able (yet) to write such a script myself.
I love this script because of its simplicity and the fact that it offers a lot of options I'm looking for, but ................. I'm stuck because Apache seems to be the owner of uploaded files (CHMOD 0600) The person who uploads a file can access it by clicking on the URL in the html output. Suppose someone else uploads a file to my site. I'm not the owner and therefore I cant access it.
On 06.23.2008 Scott explained to Yogi how to adapt the phUploader script v1.2 in order to make the script change the CHMOD settings of uploaded files to 0755.
Because the code of v1.3 differs from v1.2 and mainly because it's security issue I prefer to pose the question to you experts instead of experimenting.
Thanks in advance for your kind help.
Regards
Paul
Reply With Quote