In the event that one wants to make a directory of webpages on the CS Dept. server private to the WPI community only, one can include the following text in a publicly readable file named .htaccess which is located in the directory that is to be kept private.
<Limit GET PUT POST>
order deny,allow
</Limit>
deny from all
allow from .wpi.eduMake sure that you set the file protection using the UNIX command:
chmod o+r .htaccess
This will make all files in the private directory unreadable by anyone using a web browser outside of the wpi.edu domain. They will simply get the following message:
403 Forbidden
Your client does not have permission to get URL (your URL) from this server.