To limit web access to a specific domain for a directory, create a file called ".htaccess" (including the leading dot) in the directory with world-read access ("chmod 644 .htaccess"). The file should include:
<limit GET> order deny,allow deny from all allow from .berkeley.edu </limit>
...or whatever you want in place of ".berkeley.edu". If you have trouble with this, mail me.