When to use

Use this code when you want files that have restricted access to be included in searches on the BU Web. If the files appear in search results, visitors will be prompted to give their BU login name and Kerberos password when they try to view them.

CODE EXAMPLE:

Begin with the code you created according to any of the options for restricting access, and add the following lines indicated in blue.

AuthType weblogin
<Limit GET POST>
order deny,allow
deny from all
allow from google.bu.edu
...your list of required users or groups here...
</Limit>
satisfy any

EXAMPLE:

To restrict access to Susan Mix, Ron Yeany, and Richard Mendez, but allow files in the directory to be searchable you would use this exact code:

AuthType weblogin
<Limit GET POST>
order deny,allow
deny from all
allow from google.bu.edu
require user smix
require user ryeany
require user mendez
</Limit>
satisfy any