I am using a shared unix/linux remote server to develop my high security app which is written in php. I have SmartFTP to upload my files, which also gives me access to directory and file permissions. I have scoured the web looking for permission info and find lots on chmod commands, what they are and how to apply them as if I'm at the server using unix/linux operator commands like ls.
I have a developer site, a beta site, and a production site, all with identical folders and files, but for use by me, testers, and the public respectively.
What I cannot seem to find is how I, as a developer, should apply these to my files (pages and images) and folders. Perhaps you know of a source that explains clearly when and why I would use the attributes, or, if you prefer, give an explanation. Much appreciated.