Web : How to password protect a Web directory with htaccess
If for any particular reason you need to password protect a Web directory, on an Apache Web server using htaccess, here are steps below : 1. If not already existing, create a file name “.htaccess” at the root of the folder you want to protect : touch .htaccess 2. Make sure it is readable by… Read More »