Do you have the ability to use htaccess on your hosting account? Do you
have a control panel facility that can set up protected folders?
There are many ways to do this.
Review the above links and if they are not what you're after, then ask your
host if they provide any (other) method of password protecting
pages/folders.