Jump to content

folder permission 777


demon_athens

Recommended Posts

Hi there, I need to upload pictures for a photo gallery but in order to work the upload, the folder's permissions must be 777. ( or am I wrong?). chmod 777 as read thousand times is not secure so what can I do?

 

Check if the folder and change the permissions before and after the upload? Is this secure?

Link to comment
Share on other sites

the page that makes the uploads is "safe" because is under a password protected folder. When administrator ends his uploads there is still the "images" folder that set to 777 and its not protected. I am just wonderinghow all community bypass in general the 777 mode.

 

Just need your opinion or advice.

 

arun4444 766 doesn't work.I get the same errors like 755

Link to comment
Share on other sites

when php is executed the owner becomes wwwrun. I am not sure if this is what you asked though. After a lot of searching, seems that "php safe mode" is secures a bit this issue.

 

I want to be the owner and have all access from my scripts, and the end users just read.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.