# This is a template for .htaccess file for use with Apache webserver to restrict access by IP address and/or username # Edit and delete as per your need, and rename as '.htaccess' # Check online for more information on 'htaccess files' or at # http://stanxterm.aecom.yu.edu/wiki/index.php?page=Web_serving_-_access_control to learn more #<FilesMatch "(admin|internal_table_manager|index_long|index_short|install|cell-lines|chemicals|plasmids|proteins|records).php"> #AuthType Basic #AuthName "Restricted access" #AuthUserFile /Library/WebServer/Documents/.htpassword #Require user psassb #order deny,allow #deny from all #allow from 129.98.50.211 129.98.50.118 129.98.51.136 #Satisfy any #</FilesMatch>