Ok maybe I can help out a little.
If you want to password protect you simply select the Web Protect option in your control panel. Then you navigate to the directory you want to protect, and then click on that directories name. There should be some options there to fuss with, but nothing serious or complicated. (you can always consult the Cpanel manual or ask here)
This works for subdomains as well, since they have a directory in the root directory
(i.e
http://sub.domain.com = domain.com/sub)
Now if you want to give access to only view the pages, you can research this link here.
http://www.javascriptkit.com/howto/htaccess11.shtml