Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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

    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 ??


  2. #2
    <Directory "/var/www/html">
    Deny from All
    Order Deny, Allow


Posting Permissions

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