• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

uploads

D

designingamy

Guest
Hello all,

I am very happy I found this forum because I couldn't get help elsewhere. I hope someone knows the answers here :)
I am trying to allow clients to upload pictures and I've had permission issues and was wondering if anyone can give me some ideas on how the permissions should be set? I was told to create a folder within httpdocs (seems insecure) and I'm lost when it comes to what to put as the permissions, as well as ownerships.

Any help is appreciated :)
~Amy
 
more

I went in and saw my permissions were set to chmod 777. The problem is when I go to my site and try to upload a picture. It goes into the directory okay. But when I carry the whereabouts as a session and go to the next page, to view that picture I get a pop up box that demands a username and password. I don't understand why and hope someone can shed some light on this for me :) Thank you!
~Amy
 
more

Hmmm...I thought I could get some help....

I ended up going in and changing my php code. When a user comes in and uploads a picture, it saves in an uploads directory and I now have where it changes the chmod to 777. But that doesn't help. When I try to go to the next page to view the picture, I still end up getting that same pop up box asking for username and password.

Now I think it may have something to do with ownership issues?

Please, anyone that can help, I will be very greatful!

~Amy
 
No one knows why a pop up box from the server would appear asking for username and password?
 
what is the user with which you upload files. what is the directory of upload and what are the URL's that produce the issue.
 
If you are on a windows base server chmod will not work, create a folder under httpdocs and then go under the control panel--file manager, then you will be able to set permission for the folder your created.
 
Back
Top