Restricting Access to Students Registered for a Specific Class
When to use
Use this code when you want a file to be viewed only by students registered for your class. 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 class 053casaa371a1
</Limit>
Notes
- Copy and paste this code as outlined in Protect Your Subdirectory. You must modify the code.
- Replace the course id number, for example 053casaa371a1, with the course id number for the class. Follow these instructions to format the code for your class.
- You can limit access to BU individuals in addition to restricting access to students registered for a class. Simply add additional
require user alias lines below the require class line.
EXAMPLE:
To restrict access to students registered for the Fall 2004 section of CAS AA371 A1, and to Richard Mendez,
you would use this exact code:
AuthType weblogin
<Limit GET POST>
require class 053casaa371a1
require user mendez
</Limit>
|