Jump to content

Recommended Posts

Posted

I have a password protected directory which has a PHP page to upload files. When it is executed, I get a message saying "Permission denied" in the PHP page and that it was unable to move the temporary file to the actual file name. Do the permissions on the directory have to be set to 777? Is the password protection enough security?

Posted

You will need to have write permissions on the folder for php - so yes, if you are the owner of the folder, you will need 777 permissions to write the file there.

 

If you are writing via the script, it will generally bypass the password protection, but the password protection will provide security from people trying to run something uploaded ( assuming they can't get the login details).

Posted

Andy - I am not sure if this should be a new topic or if I can piggyback onto this question. I am the administrator of my website but the file manager returns a message telling me I cannot change permissions. "operation not permitted". I need to change the permissions so I can run Gallery.

 

DebC

 

 

You will need to have write permissions on the folder for php - so yes, if you are the owner of the folder, you will need 777 permissions to write the file there.

 

If you are writing via the script, it will generally bypass the password protection, but the password protection will provide security from people trying to run something uploaded ( assuming they can't get the login details).

Posted

Hi DebC, welcome to the forums :)

 

If you open a ticket at the help desk ( link at the top of the page ) we'll sort out the permissions and ownership for you.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...