How to disable directory browsing easy way

  Directory Browsing : If there is no index file to display on your website, it will show the directories and other files. This is not secur...

 


Directory Browsing :

If there is no index file to display on your website, it will show the directories and other files. This is not secure to display all the files and folders on the website. For security purposes, we will disable the Directory Browsing.

Directory listing is a web server function that displays the directory contents when there is no index file in a specific website directory. It is dangerous to leave this function turned on for the web server because it leads to information disclosure.

For example, when a user requests www.icchablog.com without specifying a file (such as index.html, index.php, or default.asp), the web server processes this request, and returns the index file for that directory, and the browser displays the website. However, if the index file did not exist and if the directory listing was turned on, the web server would return the contents of the directory instead.

If you’ve ever visited a site and seen a list of files and folders instead of a webpage, then you’ve seen directory browsing in action.



How to Check if Directory Browsing is Enabled:

The easiest way to check whether directory browsing is currently enabled for your WordPress website is by simply visiting the /wp-includes/ folder link like this: https://www.icchablog.com/wp-includes/

You’ll want to replace www.icchablog.com with your website’s URL. If you get a 403 Forbidden or similar message, then directory browsing is already disabled on your WordPress website.

Disable directory browsing with cPanel easy:

In this article, we will show you how you can disable directory browsing in WordPress.

  • Login to your cPanel.
  • Click on the Indexes under the ‘ ADVANCED’ category.


  •  Click the Edit button to select the directory for which you want to Disable the Directory browsing .


  • Click on No Indexing and hit the Save Button.

A new window will open and here 

Here you can see four types of indexing methods.

Default System Indexing: This is the default option set by a hosting provider.

No Indexing: This option allows to disable directory listing. The main reason to disable directory listing is to enable privacy in order to reduce the chances of the files being attacked.

Standard Indexing: This option will enable the directory listing. The user can see the name of the directories        

Fancy Indexing: This option will enable the directory listing. The user can see the name and description of the files and directories under your indexed directory.

  • Click ‘No Indexing’ option to disable directory browsing.
  • Click Save.

When directory browsing is disabled on your website it shows 403 Forbidden or a similar message.



disable directory listing htaccess
 
disable directory listing apache
 
cpanel disable directory listing globally
 
htaccess directory listing
 
directory listing seems to be enabled on your server
 
website showing directory listing
 
cpanel change folder permissions recursively
 
cpanel permissions 

COMMENTS

Name

Airtel Offer,4,App Review,1,Bangla Story,8,Banglalink Offer,2,Blogger,7,Computer,17,Earning Tips,2,Education,36,Entertainment,4,Entire Bangladesh,3,Feature,15,Freelancing,4,Grameenphone Offer,7,Health Tips,11,Internet Tips,8,Islamic,32,Job Circular,2,Journalism,38,Land Infarmation,4,LifeStyle,22,Love Story,4,Mobile Phone,13,Mobile phone Price,7,Movie Review,2,Pc Motherboard Price,3,Pc Tips and trick,5,Pictures,5,Poems,13,Price,6,Robi Offer,3,Science & Technology,11,Sim Offer,10,Softwer Downlode,4,Teletalk Offer,1,Tips and trick,6,Traveling,1,Videos,1,Web Design and Development,18,Wordpress,8,Wordpress Theme,2,
ltr
item
ইচ্ছাব্লগ.কম: How to disable directory browsing easy way
How to disable directory browsing easy way
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsP5QFgxyL2pLsGF8sIstDO-hqBheGQNazhjQIfYfJnn56ezAieg9jWrYignfMP9HistD_21fncYyTNJt9qhwj91UD8ec2rVx1aL-JLOIxS9-4Q85qk5Yt1FmTDYWML-dRqRM0E8de17mtdWn5LVtsow3d3fZpnRivtdoylEgALnIQowEuWkEIQrxoxn74/s320/How%20to%20disable%20directory%20browsing%20easy%20way.webp
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsP5QFgxyL2pLsGF8sIstDO-hqBheGQNazhjQIfYfJnn56ezAieg9jWrYignfMP9HistD_21fncYyTNJt9qhwj91UD8ec2rVx1aL-JLOIxS9-4Q85qk5Yt1FmTDYWML-dRqRM0E8de17mtdWn5LVtsow3d3fZpnRivtdoylEgALnIQowEuWkEIQrxoxn74/s72-c/How%20to%20disable%20directory%20browsing%20easy%20way.webp
ইচ্ছাব্লগ.কম
https://www.icchablog.com/2022/07/how-to-disable-directory-browsing-easy.html
https://www.icchablog.com/
https://www.icchablog.com/
https://www.icchablog.com/2022/07/how-to-disable-directory-browsing-easy.html
true
7858640433134637496
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content