oceans Posted December 23, 2008 Share Posted December 23, 2008 How can I prevent people from viewing my folders' content, I did it some time ago but I forgot now. Is it got to do with index manager in cpanel, if so shoud I do it to "public_html" folder or from the "folder" where my staffs are. In my case, I have the index.php in "public_html" folder, this index.php redirects to a start page which is in the "folder" in the "public_html" folder. Thanks Link to comment https://forums.phpfreaks.com/topic/138133-how-can-i-prevent-people-prying-my-folder-content/ Share on other sites More sharing options...
JasonLewis Posted December 23, 2008 Share Posted December 23, 2008 Throw a file called index.html or index.php in the folder. I think you can do it with .htaccess as well. Google that. Link to comment https://forums.phpfreaks.com/topic/138133-how-can-i-prevent-people-prying-my-folder-content/#findComment-722092 Share on other sites More sharing options...
oceans Posted December 23, 2008 Author Share Posted December 23, 2008 i thank you for your advice, but i am not clear, can you expand Link to comment https://forums.phpfreaks.com/topic/138133-how-can-i-prevent-people-prying-my-folder-content/#findComment-722136 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.