Menu

hiding a directory

Help
Anonymous
2003-05-12
2003-05-13
  • Anonymous

    Anonymous - 2003-05-12

    I would like to hide a directory from view for security reasons, what would be the best way modify the code to perform that tasks in QuiXplorer

     
    • Felix C. Stegerman

      You can tell QuiXplorer to hide items starting with a '.' by setting "show_hidden" to false.

      You can also tell QuiXplorer to hide items matching a certain pattern (defined in "no_access").
      e.g. to hide all items starting with '.ht', use "^\.ht" as a pattern; to hide all '.php' & '.pl' items, use "\.php$|\.pl$".
      (http://www.php.net/manual/en/ref.regex.php)
      Note that this hides ALL items matching this pattern.

      In case you can't change the name of the directory or want to avoid problems with other items matching the pattern:
      I'll implement a feature that will allow you to specify a path & a pattern in the next version of QuiXplorer

      I hope this helps you out...

      Regards,

      Felix

       

Log in to post a comment.