htaccess is a primitive but very handy way to secure content of your website.
i think this link is very good for htaccess beginners. It shows you how to enable htaccess and also how to perform a locked directory:
http://www.scriptsharks.com/articles/htaccess.php