问题
I am in the process of setting up the godaddy file permissions and I do not know what permissions to set for my PHP files. They should be able to read, write and execute effecting the SQL server. Which options should I select, the default permissions are shown in the image below.
回答1:
PHP files should only have the EXECUTE permission for all 3 groups php files are executed, not read, like html files for example if you leave read, people can with some tricky methods view your actual php code and steal it, so don't leave read on .php files
来源:https://stackoverflow.com/questions/28051528/file-permissions-for-php-execute