Directory access newbie question

I've installed codeigniter, and, for some reasons, I had to use some directory which are external to the CI engine. I've noticed these directories show the file list if directly accessed. So I just copied the index.html file with the forbidden message to all my directory. I haven't access to httpd.config, so, I guess it's the easiest way to do this. Or is better to do it via .htaccess?

Another question: I've noticed that system directory is accessible as well, and that the guide tells to use a not-so-obvious name to avoid direct access. Now, I'm confused. I tried to put the index.html there, and everything seems to work fine (note: I'm not using a database). Is it possible to have problem ith this solution? And if not, why not to include a index.html in the system directory? I'm a bit confused.

Thank you!

Messages In This Thread
Directory access newbie question - by El Forum - 12-30-2007, 04:00 PM
Directory access newbie question - by El Forum - 01-02-2008, 04:49 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.