To protect your web directory with CoSign, the login system used with Brandeis systems such as Webmail and LATTE, add the following lines to a file named
.htaccess (beginning with a period) in your web directory:
CosignProtected On ErrorDocument 503 https://people.brandeis.edu/~UNETIDWhere UNETID is your UNET ID.
The code above will limit your page to anyone at Brandeis with a valid account. If you would like to restrict your site to specific users, add the following line to the bottom of the
require user user1 user2Where user1 and user2 are the users you want to have access. You can have an unlimited number of users; just append more to the end of the list.