Apache Server configuration support - Prevent Dir Indexing/Moving outside httdocs - newbie

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > September 2005 > Prevent Dir Indexing/Moving outside httdocs - newbie





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Prevent Dir Indexing/Moving outside httdocs - newbie
Andrew L.

2005-09-19, 7:51 am

I want to prevent indexing of directories and to keep users from
trolling the file system with the browser, ie no access outside the
doc root. Apache 2.0.5.4 on Windows 2k.
Richard Antony Burton

2005-09-19, 8:51 pm

"Andrew L." <none@nowhere.net> wrote in message
news:5i9ti1lsgn5n7ofscg8vdo6h3pcjhn5oe0@
4ax.com...
>I want to prevent indexing of directories and to keep users from
> trolling the file system with the browser, ie no access outside the
> doc root. Apache 2.0.5.4 on Windows 2k.


Make sure you don't have Indexes set in your Options directive (or just make
sure all your folders have an index page):
http://httpd.apache.org/docs/2.0/mod/core.html#options
This will prevent directory browsing.

People wont be able to browse directories that you haven't made accessible
through your config, so if you don't want them to have access to a
particular part of your hard disk, just make sure that you have no config
options that allow it.

Richard.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com