directory Archives | Websiteroof https://websiteroof.com/knowledgebase/tag/directory/ The Best Canadian Web Hosting | Web Hosting Canada | Websiteroof Sat, 23 Jan 2021 16:54:48 +0000 en-US hourly 1 https://wordpress.org/?v=6.2.5 https://websiteroof.com/wp-content/uploads/2020/02/cropped-websiteroof-logo-1024-1204-32x32.png directory Archives | Websiteroof https://websiteroof.com/knowledgebase/tag/directory/ 32 32 How to disable directory browsing using .htaccess? https://websiteroof.com/knowledgebase/servers/siteworx-control-panel/how-to-disable-directory-browsing-using-htaccess-2/ Sat, 23 Jan 2021 16:54:48 +0000 https://websiteroof.com/?post_type=epkb_post_type_1&p=6189 For security purposes, we recommend that you disable directory browsing on your website so no one can see the files/folders of your website. You can disable Directory Browsing by adding this line to your .htaccess file. Options -Indexes

The post How to disable directory browsing using .htaccess? appeared first on Websiteroof.

]]>
How to restrict directory access by IP address? https://websiteroof.com/knowledgebase/hosting/security/how-to-restrict-directory-access-by-ip-address/ Sat, 23 Jan 2021 15:15:11 +0000 https://websiteroof.com/?post_type=epkb_post_type_1&p=6144 In order to secure your admin area from hackers, we recommended you allow access only from your selected IP to your admin directory. You just need to create a .htaccess file in the directory where you want to restrict access by IP Address. For example, if you have a WordPress blog installed on your main […]

The post How to restrict directory access by IP address? appeared first on Websiteroof.

]]>
How to blacklist an IP Address to deny it access to your website? https://websiteroof.com/knowledgebase/hosting/security/how-to-blacklist-an-ip-address-to-deny-it-access-to-website/ Fri, 22 Jan 2021 19:59:47 +0000 https://websiteroof.com/?post_type=epkb_post_type_1&p=6134 You can lock the directory with a password by using the cPanel “Password Protected Directories” option. 1. Log into your cPanel account. 2. In the “Security” section, click on the “IP Blocker” Icon. 3. Under “Add an IP or Range” you should enter the IP Address you wish to block. 4. Click on the “Add” […]

The post How to blacklist an IP Address to deny it access to your website? appeared first on Websiteroof.

]]>
How to protect a folder with username and password in cPanel? https://websiteroof.com/knowledgebase/hosting/security/how-to-protect-a-folder-with-username-and-password/ Fri, 22 Jan 2021 19:54:08 +0000 https://websiteroof.com/?post_type=epkb_post_type_1&p=6132 You can lock a directory with a password by using the cPanel “Password Protected Directories” Option. 1. Log into your cPanel account. 2. In the “Files” section, click on the “Directory Privacy” Icon. 3. Click the icon to open a folder. 4. Click on the name of the directory you want to protect by password. […]

The post How to protect a folder with username and password in cPanel? appeared first on Websiteroof.

]]>