J avais la meme contrainte mais pour un wiki. J ai utilise' le fichier .htaccess.
voici le premier tuto que j ai trouve' : http://www.cyberciti.biz/faq/howto-setup-apache-password-protect-directory-with-htaccess-file/