my question is this:
through a button any user who accesses the form on my website can upload an image to an image folder. This works perfectly if the permissions of the folder are at least 757. What I need for security is that they can upload it if the folder has 755 permissions.
I have seen many cms that has the folder to upload documents and has 755 permissions. How is it done?
I do not know what you think? Besides putting the folder to 755, what advice do you give me in case someone tries to upload a Shell or something?
a cordial greeting.