PHP Webhosting Protection - Read Write Access?

Joely

New member
Hi there,

I'm trying to stop unauthorised directory access to PHP. I have created a directory for a friend which they will upload PHP scripts to. I want to be able to limit the access they get to files below their directory. For example - they are hosted in /college/(user)/ and I wish to deny file access to anything below /(user)/. I am using a shared hosting service so don't have many rights. I of course have the ability to upload .htaccess files which may be my solution. I thought about mod rewrite but I don't know whether that would stop PHP from accessing files.

I specifically want to stop PHP getting access to files/directories it shouldn't.

Cheers,

Joel
 
Back
Top