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? ??? 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 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
Archived
This topic is now archived and is closed to further replies.