Hey phil,
I hate to be a jerk and just say use Google, but I honestly knew nothing about the .htaccess file until like 10 minutes ago. I read some stuff on the first google link. (check out http://www.javascriptkit.com/howto/htaccess3.shtml )
Among other things this explains how it is used to set permissions on folders. I think this will get you started. Good luck!