Stop people from viewing contents of a directory

Posted by pingu on Stack Overflow See other posts from Stack Overflow or by pingu
Published on 2010-04-22T12:43:40Z Indexed on 2010/04/22 12:53 UTC
Read the original article Hit count: 236

Filed under:
|
|
|

I want to stop people from viewing the contents of my images directory. I've built an app using Codeigniter and notice that they just have index.html pages with a 403 Forbidden message in all directories - is this a secure method to use? Is an index.html page in the directory sufficient or do I need to update config or .htaccess?

© Stack Overflow or respective owner

Related posts about codeigniter

Related posts about server