The Little Guy Posted January 14, 2007 Share Posted January 14, 2007 I let users upload php files, however I do not want them to be able to include or do anything with any files that are outside their directory. Example: [b]/mysite/username/public_html/users/bob/file.php[/b] I do not want bob to be able to access (include, mess with, anything) the file [b]/mysite/username/file.php or /mysite/username/public_html/file2.php[/b]. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted January 15, 2007 Share Posted January 15, 2007 you either put .htaccess & .htpassword protection in plaace or you have some method to monitor via mysql and php.This would require you giving each memeber their own folder and only allowing them to include stuff in that folder. If you allow them to put php files in there then you must also ensure that any coed they put in it doesn't include files outside their directory.Good Luck. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.