Folder protection with .htaccess

This tutorial will explain how to restrict access to a directory on a web server with .htaccess and .htpasswd files. 1.First of all you need to create a .htaccess file if it is not exist. 2.Put the following code at the end of your .htaccess file. <code> AuthName “your-message” AuthType Basic AuthUserFile htpasswd file location […]

Read More