Jump to content

Directory Browsing Enabled By Default?

Recommended Posts

Hi folks.


I was setting up a site and I noticed that if you don't have an index file, it shows you the directory contents i.e, directory browsing is enabled by default, which presents a security risk.


Why isn't this switched off as a default?

Link to post
Share on other sites

You can also put an index file in your reseller account > skeleton > public_html folder and then any accounts you create will have that index file.


To display the skeleton directory path in WHM

Click on the Skeleton Directory link in the Account Functions menu.

The skeleton directory path is now displayed


You can also have a default .htaccess file for your accounts.

Link to post
Share on other sites

I'm just guessing but I'd say it may be the way the software works that we use to provision accounts. Some things, like Cpanel, come preconfigured a certain way and it would take an act of Congress to change them.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...