chmod/chown has been the de facto (if not de jure) method securing LAMP stacks for as long as I have been alive. Not that I recommend taking the advice of a LAMP stack too seriously :)
But indeed, if there is a separate user account for the application, then chmod can be used for some control to its access to files and directories.