theironchef Posted November 26, 2006 Share Posted November 26, 2006 does anyone know how (htaccess possibly?) to deny a php script from accessing a parent directory. Heres the oflder structure/Home ----> /User 1/ ----->index.php ----->image.jpeg ----> /User 2/ ----->index.htmlI do not want index.php from user 1 to be able to open its parent diectory ".." and then end upopenidn user 2's files... anyone know how to prevent this? ??? Quote Link to comment https://forums.phpfreaks.com/topic/28555-apache-deny-access-to-php-scripts/ Share on other sites More sharing options...
steviewdr Posted November 28, 2006 Share Posted November 28, 2006 Do a search for suPHP. A simple htaccess or script will not solve this for you.-steve Quote Link to comment https://forums.phpfreaks.com/topic/28555-apache-deny-access-to-php-scripts/#findComment-131600 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.