This tutorial shows you how to make a ChatterBlock. ChatterBlocks are small windows where users can type in messages. They're also called Shout Boxes or TagBoards and are kind of like miniature chat rooms.
Save this file as accesscontrol.php, and you will now have password protection on your ChatterBlock Admin script.
That's it. A quick and fast tutorial. This chatterblock is very basic, can post and can view. It doesn't really have other nifty functions such as smilies or profanities checking. Once you get the basic chatterblock, you can always add features and functions later on.