Restricting Access by BU Status
When to use
Use this code when you want a file to be viewed only by users with a BU status: students, faculty, or staff, for example. 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 status type
</Limit>
NOTES:
- Copy and paste this code as outlined in Protect Your Subdirectory. You must modify the code. Replace “type” with one of these names:
student
faculty
staff
guest - You can limit access to several statuses. Simply add additional “require status type” lines below the first instance in the code above.
- BU Human Resources and the Registrar determine an individual’s status. That status is part of the individual’s official record.
- Additionally, you can restrict access based on any of these more finely defined substatuses:
Substatus
Description
Refinement of
research Research scientist Faculty admin Administrative staff Staff campus_police Campus police staff Staff buildings_grounds Building and grounds staff Staff registered Registered student Student
EXAMPLES:
To restrict access to all BU students, you would use this exact code:
AuthType weblogin
<Limit GET POST>
require status student
</Limit>
To restrict access to only registered BU students, you would use this exact code:
AuthType weblogin
<Limit GET POST>
require status registered
</Limit>
To restrict access to all BU faculty, you would use this exact code:
AuthType weblogin
<Limit GET POST>
require status faculty
</Limit>
To restrict access to BU faculty researchers, you would use this exact code:
AuthType weblogin
<Limit GET POST>
require status research
</Limit>
To restrict access to all BU staff, you would use this exact code:
AuthType weblogin
<Limit GET POST>
require status staff
</Limit>
To restrict access to all BU faculty and staff, you would use this exact code:
AuthType weblogin
<Limit GET POST>
require status faculty
require status staff
</Limit>
