Answers Search Help
Boston University home page
 
 
 
    Essential Steps
 
 
 
 
    Restriction Options:
 
 
 
 
 
 
 
 
 
 
 
    Also see
 
  

Restricting Access By Department

When to use

Use this code when you want a file to be viewed only by members within a BU academic or administrative department. Visitors will be prompted to give their BU login name and Kerberos password when they try to view files restricted in this way.

CODE EXAMPLE:

AuthType weblogin
<Limit GET POST>
require deptid nnnnn
</Limit>

Notes

  1. Copy and paste this code as outlined in Protect Your Subdirectory. You must modify the code. Replace nnnnn with the department ID number.
  2. To find a department ID, conduct a custom search of the Electronic Directory. Search for the name of a person in that department. In Step 3 on the custom search page, select All. The department ID will be listed in the search results.
  3. You can limit access to several departments. Simply add additional require deptid nnnnn lines below the first one.
  4. You can also restrict access to all department ids that start with the same few numbers by using the asterisk character. This is especially useful if there are multiple department ids amongst members of your department, but all of those department ids begin with the same two or three digits. Simply insert the * after the first few digits that are the same.

EXAMPLES:

To restrict access to all students, faculty, and staff in the Chemistry and Physics departments, you would use this exact code:

AuthType weblogin
<Limit GET POST>
require deptid 20205
require deptid 20219
</Limit>

To restrict access to all staff in the Office of Personnel, you would use this exact code:

AuthType weblogin
<Limit GET POST>
require deptid 17012
</Limit>

To restrict access to all staff of the BU Libraries, which has multiple department ids, which all start with 45, you would use the following code:

AuthType weblogin
<Limit GET POST>
require deptid 45*
</Limit>

WebCentral Using Publishing Learning Training Consulting WebCentral
Answers Search Help
NIS  |  OIT  |  Boston University  |   October 24, 2002