How does filepermissions work
Posted on 2011-03-12
Im trying to figure out how to limit access to a php-file based on file-permissions, but apparently I dont get it.
I want to limit the possipility to send POST or GET to a php-file from another hostname and figured that it could be done by setting the write-access to Owner only.
But that is not it.
So can anyone explain me how the permissions works.
I expected that domains placed in the same server-directory would be Owner, while others would be Everyone.
I need a real simple explanation on this - preferably with an example of how to limit Writing to a php-file