Block PHP scripts to access top directories

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
Ivan
Forum Newbie
Posts: 1
Joined: Fri Jun 24, 2011 9:52 pm

Block PHP scripts to access top directories

Post by Ivan »

Hello everyone

I want to allow access to the server by FTP to a client.

He will upload PHP code and i want to block de execution of any script to the top directories he is assigned to.

Of course htaccess is no enough to acomplish this.

It is a shared hosted service so i am not able to modify php variables.

Thank you for any help

Atte
Ivan
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: Block PHP scripts to access top directories

Post by Jade »

If you're on a *nix server and you're using vsftpd you need to read this: http://www.brennan.id.au/14-FTP_Server.html
Post Reply