Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8479741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:06:59+00:00 2026-06-10T19:06:59+00:00

I have a PHP enabled site, with directory-listing turned off. But, when I used

  • 0

I have a PHP enabled site, with directory-listing turned off.

But, when I used Acunetix: (web vulnerability scanning software) to scan my site, and other high-profile websites, it was able to list all directories & files.

I don’t know what this is happening, but I have this theory: maybe the software is using English words, trying to see if a folder exists by trying names like “include/“, “css/“, “/images“, etc. Then, maybe it is able to list files that way.

Because, if directory listing is off, I don’t know what more there is to do.

So, I devised this plan, that if I give my folders/files difficult names like I3Nc_lude, 11css11, etc., maybe it would be difficult for the software to find the names. What do you think?

I know, I could be dead-wrong about this, and the idea might be laughable but, that is why I am asking for help.

How do you Completely! Forbid directory listing??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:07:01+00:00Added an answer on June 10, 2026 at 7:07 pm

    The checkers aren’t using some kind of language-based brute force attack, that would be far too costly and invasive even for the most inept hacker. Your internet file sharing service (Apache, IIS, whatever) is serving up the structure to anyone who asks.

    I found this solution at – it should apply to you, I hope.

    http://www.velvetblues.com/web-development-blog/dont-get-hacked-6-ways-to-secure-your-wordpress-blog/

    1. Hide Your Directory Structure

    It is also good practice to hide your directory structure. By default, many WordPress installations enable any visitors to snoop and see all files in folders lacking an index file. And while this might not seem dangerous, it really is. By enabling visitors to see what files are in each directory, they can better plot their attack.

    To fix this problem, you can do one of two things:

    Option 1: Use An Index File

    For each directory that you want to protect, simply add an index file. A simple index.html file will suffice.

    Option 2: Use An .htaccess File

    The preferred way of hiding the directory structure is to use the following code in an .htaccess file.

    Options -indexes

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web site in php. Here I have uploaded image with size
I have PHP 5.1.6 running with a ton of mods and extensions enabled, is
I have installed WAMP and running PHP scripts on localhost. I have enabled cURL.
I am trying to use PHP session without using cookies. I have enabled session.use_trans_sid
I have a Windows/Apache/PHP environment set up to imitate a shared hosting account but
Under the site-enabled www.test.com , I have multiple VirtualHost configurations. ServerName varies (eg. test1.com
I have a rather big php site, which was written for php4 and register_globals
I have set up PHP5.3, MySQL5.1, and IIS7 on Window 7 but php doesn't
I have a site that we require the user to have enabled JavaScript and
I have Drupal 7 installed in the root directory of my site. The .htaccess

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.