Password protecting your pages with htaccess
create a .htaccess file with this content.
the .htpasswd contains a user and encrypted password (e.g.: leo:4tHAiRmQ4OpjM). create a encrypted password in: http://www.kxs.net/support/htaccess_pw.html
1 AuthUserFile /home/leonardo/public_html/project/.htpasswd 2 AuthGroupFile /dev/null 3 AuthName "Restricted Access" 4 AuthType Basic 5 <limit GET> 6 require valid-user 7 </limit>