2
Let's say example1.com is located in US, and example2.com is located in EU.
example1.com/folder/
has 777 permission.
Will a script in example2.com be able to write on example1.com/folder/
?
Or is the 777 permission only applicable to other users in example1.com server and users in the "outside" world has no access to it?
Edit:
To those asking more details:
US server has folder/
with 777
permission. Now a malicious user happen to know this for whatever reason.
He has control of EU server but absolutely no control over US server, only that he knows folder/
is 777
.
Can he put files in US server folder/
?
There's really no way to answer this question. If some way is provided that allows the script to do that, then it can do it. If not, not. But there's no way we could know without a very specific case in mind. – David Schwartz – 2012-10-17T13:49:41.527
If a folder has 777 permision then it means any user can write to it. This means any script that has the ability to write to the server can. – Ramhound – 2012-10-17T14:17:34.097
What are the permissions and ownerships on all directories in the directory structure leading up to the respective
folder
directories, and what user account is the script inexample2.com
running as? If you provide this information, it would be much easier to formulate a proper answer. – a CVn – 2012-10-17T14:34:06.283