htaccess and htpasswd give basic authentication measures with Apache2

How to password protect web sites via .htaccess

SKILL LEVEL: SYSADMIN/ADVANCED – TIME: 5-10 MINS Introduction In this tutorial we are going to show you how to protect a web site, or just a folder within a site, by password protecting it. We will be using the most popular web server, Apache2 for this example, however similar methods can be done with other web servers. The method we will be using is a basic authentication system, however it is easy to set up…