How to protect Directory Indexing?

Apache web server allow directory browsing by default. It?s always good to disable directory browsing in security aspect.

Disable directory browsing:

1. Login to your CPanel,
2. Click on Index Manager,
3. Directory will be list down. Click on the directory name which you want to disable the directory browsing,
4. Select No Index and click Save,
5. The directory browsing feature should be disable by now.

Or,

Under public_html make .htaccess and put this line "Options -Indexes" over there. Thats it.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Protect WHMCS?

Move the attachments, downloads & templates_c folders The three folders "attachments",...

My account was hacked!

If you are the victim of a hacker you can mail to our support department and our experts will...

My Joomla has been hacked!

A Joomla is usually compromised when it or its components / modules are outdated. Another very...

SQL injection, insertion!

SQL injection is an attack where malicious code is passed to an SQL Server for execution. The...

What happens to someone abusing system resources?

The offending site will be suspended and the owner will be given an opportunity to fix the...

Powered by WHMCompleteSolution