I'm writing an upload app. in php. The uploaded files are moved and checked by php. But my client is on a shared hosting provider.
In order for php to move the files to the right folder, that folder needs to be chmod'ed to 777. I have been googling and found many people saying chmod 777 isn't safe on a shared host.
I was wondering if chmod 777 poses any security problem if the application would be hosted on a vps or dedicated server?