I'm just checking before I make one, but if I had a folder open to FTP access, would people be able to upload files that edit files OUTSIDE the folder meant for FTP?

Like:

-Site
--My Site
--FTP

Would they be able to use say... PHP to edit files in my site, using example fopen/fwrite?

If so how can I disable that?