you'll have to find out if you are on a windows or linux server.
If you have backend access and it is linux it will be easy.
Quick google search for .htaccess is better than me explaining it.
Protecting private directories with APACHE's .htaccess and htpasswd authorization.
hope that helps.