Prevent Dir Indexing/Moving outside httdocs - newbie
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Prevent Dir Indexing/Moving outside httdocs - newbie




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-19-05 12:51 PM

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.





[ Post a follow-up to this message ]



    Re: Prevent Dir Indexing/Moving outside httdocs - newbie  
Richard Antony Burton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 01:51 AM

"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.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:50 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register