telsiin Posted June 18, 2008 Share Posted June 18, 2008 I have the following link http://lordofansalon.no-ip.org/DM/maptest.php however a person type http://lordofansalon.no-ip.org/DM/ all my file in that folder could be seen. How can I prevent this ? Link to comment https://forums.phpfreaks.com/topic/110676-solved-a-question-about-security/ Share on other sites More sharing options...
DarkWater Posted June 18, 2008 Share Posted June 18, 2008 Simplest solution is to put an index.html file in there so your server grabs it instead. Link to comment https://forums.phpfreaks.com/topic/110676-solved-a-question-about-security/#findComment-567778 Share on other sites More sharing options...
bluejay002 Posted June 18, 2008 Share Posted June 18, 2008 Simplest solution is to put an index.html file in there so your server grabs it instead. Indeed. you see, index.html is the file loaded once no file was specified to load. you may just include a redirection inside index.html to the default page you wanted if it was named after it. Link to comment https://forums.phpfreaks.com/topic/110676-solved-a-question-about-security/#findComment-567783 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.