Find the answer to your Linux question:
Results 1 to 2 of 2
Stop folder traversing for web users Hi I have a web server with multiple web users , each user is able transverse to its parent directory and at the other ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    4

    Stop parent folder traversing for web users


    Stop folder traversing for web users

    Hi I have a web server with multiple web users , each user is able transverse to its parent directory and at the other users directories.

    I have configured httpd.conf for each directory as such

    <Directory "/var/www/html/mark">

    AuthType Basic
    AuthName "mark"
    AuthUserFile /etc/httpd/passwd/passwords
    Require user web mark
    </Directory>

    I have played around with allow and deny but to no avail

    Is there any way to prevent traversing to the parent folder for each user ??

    Thanks

  2. #2
    Just Joined!
    Join Date
    Apr 2009
    Posts
    90
    <Directory "/var/www/html">
    Deny from All
    Order Deny, Allow
    </Directory>

    ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •