if you mean to deny access to the folder to view the files within it then all you need to do is add a .htaccess file to the folder that you're protecting
heres a thread on it (last post is about the htaccess file):
showthread.php?t=30252&highlight=htaccess